Bug 28854: Unit test for Koha::Item additions
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 17 Jun 2022 12:08:46 +0000 (13:08 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 13 Jul 2022 13:35:48 +0000 (10:35 -0300)
commit140dafd3f70bba0f2b36c64d49c983925b886b4a
tree62bd9640bc67018e6781ed9c22ba13e6cbb1edf2
parentfd7e41718985ef0d49cd0d18472627a0dfe054cf
Bug 28854: Unit test for Koha::Item additions

This patch adds unit tests for the new methods added to Koha::Item
including:

* return_claim
* return_claims
* is_bundle
* in_bundle
* bundle_host
* bundle_items
* add_to_bundle
* remove_from_bundle

Test plan
1) Run t/db_dependent/Koha/Item.t

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Item.t