]> git.koha-community.org Git - koha.git/commit
Bug 27708: (QA follow-up) Add a few tests for Koha::Edifact::Order
authorJoonas Kylmälä <joonas.kylmala@iki.fi>
Tue, 2 Nov 2021 23:22:45 +0000 (23:22 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 12 Nov 2021 23:15:24 +0000 (13:15 -1000)
commitc60cdb9bfc0f2ea7bd7dc6e7623576ad087b8d14
tree1fd8b2a281cf135b92dc9aad957fe2d6978b1dd3
parentb6a792b14fd0abee3643a3f1c9e024c9415aa332
Bug 27708: (QA follow-up) Add a few tests for Koha::Edifact::Order

1. This adds a simple regression test to make sure order_line() method
executes correctly with basket create_items set to "ordering" and
"receiving".

2. A simple test for the filename method is added

To test:
 1) prove t/db_dependent/Koha/Edifact/Order.t

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 8c1ea4ec8ab6509c67538b1bf78cdf9e44d60c96)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Koha/Edifact/Order.t [new file with mode: 0755]