From 56a2ae8f4f256e6a0d8a10bafbba6e15da970116 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 7 Apr 2020 15:38:37 +0200 Subject: [PATCH] Bug 24705: Fix tests for 19.11.x --- t/db_dependent/SIP/Transaction.t | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/t/db_dependent/SIP/Transaction.t b/t/db_dependent/SIP/Transaction.t index 83009df278..05d765d84c 100755 --- a/t/db_dependent/SIP/Transaction.t +++ b/t/db_dependent/SIP/Transaction.t @@ -216,12 +216,11 @@ subtest do_hold => sub { ); my $reserve1 = AddReserve( - { - branchcode => $library->branchcode, - borrowernumber => $patron_1->borrowernumber, - biblionumber => $item->biblio->biblionumber, - itemnumber => $item->itemnumber, - } + $library->branchcode, + $patron_1->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