Bug 29670: Unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Dec 2021 16:04:55 +0000 (16:04 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Thu, 10 Feb 2022 15:43:12 +0000 (15:43 +0000)
commit1926a207536d38d772a816b0c0179d9201273e04
tree944ac09d1afbfba616645ed53a866a0784ac6b5b
parent17380ea6abeca1a54fefba5e7a213dbe610de514
Bug 29670: Unit tests

This patch adds unit tests for Koha::Edifact::Order->order_line. We now
check that the message segments are created as expected for both the
'ordering' and not 'ordering' case for acquisitions item creation time.

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
JD amended patch: spelling segement ==> segment

(cherry picked from commit 67bb6f7b95e848075534127116ead9e8820ac90f)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
t/db_dependent/Koha/Edifact/Order.t