Bug 29670: Unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Dec 2021 16:04:55 +0000 (16:04 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 19 Jan 2022 07:15:04 +0000 (21:15 -1000)
commit91b8f990aed0bfe93dd54d0ce03be4b161d7fa1b
tree942cf88b6816e1eba7cba0dce2b92684a19300fd
parent61e3acf7a318fdc09a1eb07167093fbea350943e
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

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Koha/Edifact/Order.t