Bug 29670: Unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Dec 2021 16:04:55 +0000 (16:04 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Sat, 12 Feb 2022 19:46:33 +0000 (20:46 +0100)
commit5cba34bb76e5d45d55262a8058d3aa4c3d9909d3
tree5d60bdced7d32e6c94df8a236dfd3bcbb2d07806
parent82a2a8273aa8526be3ee2e04110fbb43fa704b06
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>
(cherry picked from commit 1926a207536d38d772a816b0c0179d9201273e04)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
t/db_dependent/Koha/Edifact/Order.t