Bug 29670: Unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Dec 2021 16:04:55 +0000 (16:04 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Tue, 25 Jan 2022 12:01:12 +0000 (07:01 -0500)
commit67bb6f7b95e848075534127116ead9e8820ac90f
treec8153bab5a0b707e78b11e14787168c766676602
parenteea32e6c5d39f5ec506b5c6cc81b390fcb6f8c52
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
t/db_dependent/Koha/Edifact/Order.t