]> git.koha-community.org Git - koha.git/commit
Bug 38175: Unit tests for assign_item_for_booking
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 23 Oct 2024 10:07:52 +0000 (11:07 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 24 Oct 2024 16:27:26 +0000 (18:27 +0200)
commit48331bf28ab220f2c8c9d3d94c94eda4cd7a618c
tree4ef3ec734c9d496fe440d2c5f891a9a77015cbee
parentf1f790f51f6c829589c2c48d9a4844cc9dd6706b
Bug 38175: Unit tests for assign_item_for_booking

This patch adds more comprehensive tests to the item autoassignment for
'Any item' handling in bookings.

We check for both random assignment, which was missing before now but
always intended, and that we take cancelled status into account.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
t/db_dependent/Koha/Booking.t