[Koha-bugs] [Bug 23964] An item level hold when placed is set to Waiting, if ReservesNeedReturn is set to Automatic
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 11 09:45:26 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23964
--- Comment #10 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
725 my $hold_1 = place_item_hold( $patron, $item, $library, $priority );
726 $hold = place_item_hold( $patron_2, $item, $library, $priority );
727 is( $hold->priority, 1, 'If ReservesNeedReturns is 0 but item already
on hold priority must be set to 1' );
What about $hold_1->priority? Should not we have $hold->priority == 1 here?
737 isnt( $hold->priority, 0, 'If ReservesNeedReturns is 0 but item in
transit the hold must not be set to waiting' );
Test's description does not match the test.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list