https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39204

--- Comment #18 from David Nind <[email protected]> ---
Created attachment 210042
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210042&action=edit
Bug 39204: Add SIP item-level hold creation and cancellation tests

Added a new regression test in `t/db_dependent/SIP/Message.t` to address the
feedback regarding SIP-level test coverage.

The test exercises SIP `15+` hold creation and SIP `15-` hold cancellation
through `handle_hold`, verifying that an item-level hold is created and
successfully removed.

I also verified that the test fails when the `itemnumber` assignment is removed
from `C4/SIP/ILS/Transaction/Hold.pm` and passes when it is restored.

All 25 tests in `t/db_dependent/SIP/Message.t` pass, with no warnings.

Signed-off-by: David Nind <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to