From 733c617b4f629c075a7642556006d2f0ded10bd8 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 15 Nov 2023 09:31:24 +0000 Subject: [PATCH] Rmaint fix: Same as 7e9866a Signed-off-by: Pedro Amorim --- t/db_dependent/Reserves.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t index 34dabce390..1f4b8dcef6 100755 --- a/t/db_dependent/Reserves.t +++ b/t/db_dependent/Reserves.t @@ -1841,7 +1841,7 @@ subtest '_Findgroupreserves' => sub { ); # When the hold is title level and in the hold fill targets we expect this to be the only hold returned - @reserves = C4::Reserves::_Findgroupreserve( $item->biblionumber, $item_2->id, 0, [] ); + @reserves = C4::Reserves::_Findgroupreserve( undef, $item->biblionumber, $item_2->id, 0, [] ); is( scalar @reserves, 1, "We should still only get the item level hold that is in the map" ); is( $reserves[0]->{reserve_id}, $reserve_id_1, "We got the expected reserve which has been updated" ); -- 2.39.5