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)
committerKyle Hall <kyle@bywatersolutions.com>
Thu, 11 Nov 2021 12:29:42 +0000 (07:29 -0500)
commit8c1ea4ec8ab6509c67538b1bf78cdf9e44d60c96
treee39a1e88ea22eb19d0edce3d126ecf73ad275738
parente429519974bb7bd8125fa0194bb7a7a004c638ee
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>
t/db_dependent/Koha/Edifact/Order.t [new file with mode: 0755]