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

--- Comment #10 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to