Bug 31128: Unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 11 Jul 2022 12:46:05 +0000 (13:46 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Jul 2022 14:32:21 +0000 (11:32 -0300)
commit4ce3a882a686237d411d622f95abd554814c57b5
tree6c8920799f99de420cb1918891f6c9f4e2a6c162
parent2ce5f0532c8fea625c838725f70518421ebbb22b
Bug 31128: Unit tests

This patch adds unit tests for the new effective_not_for_loan_status
which I add to the items api responses in this patchset.

Test plan
1) Run the unit test without applying the next commit, it should fail
2) RUn the test again after applying the next commit, it should pass

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/api/v1/items.t