From a68f52e14ee674534a6cba5b88233724af6eeaa3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 7 Apr 2020 15:30:06 +0200 Subject: [PATCH] Bug 24553: Fix tests for 19.11.x --- t/db_dependent/SIP/ILS.t | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/t/db_dependent/SIP/ILS.t b/t/db_dependent/SIP/ILS.t index f08a259621..342609caae 100755 --- a/t/db_dependent/SIP/ILS.t +++ b/t/db_dependent/SIP/ILS.t @@ -103,12 +103,11 @@ subtest cancel_hold => sub { ); my $reserve1 = AddReserve( - { - branchcode => $library->branchcode, - borrowernumber => $patron->borrowernumber, - biblionumber => $item->biblio->biblionumber, - itemnumber => $item->itemnumber, - } + $library->branchcode, + $patron->borrowernumber, + $item->biblio->biblionumber, + undef, undef, undef, undef, undef, undef, + $item->itemnumber, ); is( $item->biblio->holds->count(), 1, "Hold was placed on bib"); is( $item->holds->count(),1,"Hold was placed on specific item"); -- 2.20.1