Bug 35398: Unit test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 28 Feb 2024 16:40:39 +0000 (16:40 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 7 Mar 2024 14:02:46 +0000 (15:02 +0100)
commitde79e957ce82d53d9978551f1d7ef593884daa29
tree97323c73555c9eaefc3f9c5982f076797c5d25e2
parent6744b9979a5b7029f9d35d19e680f8a03fcd8a75
Bug 35398: Unit test

This patch adds the begginings of unit tests for Koha::EDI.  Right now
we only test that a simple QUOTE message creates a basket, adds the item
to said basket and assigns that single item to a corresponding stock
rotation rota as defined by the LRP segment in the QUOTE message.

It lays the foundations for much more rigorous tests to be written to
cover the whole of EDI.pm however.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
t/db_dependent/Koha/EDI.t [new file with mode: 0755]
t/edi_testfiles/QUOTES_SMALL.CEQ [new file with mode: 0644]