Bug 34666: Tidy

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2023-09-05 14:38:38 +00:00 committed by Tomas Cohen Arazi
parent 72bfb416d3
commit fcf0ba17b5
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -1782,7 +1782,7 @@ subtest '_Findgroupreserves' => sub {
my $patron_1 = $builder->build_object( { class => 'Koha::Patrons' } );
my $patron_2 = $builder->build_object( { class => 'Koha::Patrons' } );
my $item = $builder->build_sample_item();
my $item_2 = $builder->build_sample_item( { biblionumber => $item->biblionumber } );
my $item_2 = $builder->build_sample_item( { biblionumber => $item->biblionumber } );
t::lib::Mocks::mock_preference( 'RealTimeHoldsQueue', 0 );
my $reserve_id_1 = AddReserve(
@ -1803,8 +1803,8 @@ subtest '_Findgroupreserves' => sub {
C4::HoldsQueue::AddToHoldTargetMap(
{
$item->id => {
borrowernumber => $patron_1->id, biblionumber => $item->biblionumber,
holdingbranch => $item->holdingbranch, item_level => 0, reserve_id => $reserve_id_1
borrowernumber => $patron_1->id, biblionumber => $item->biblionumber,
holdingbranch => $item->holdingbranch, item_level => 0, reserve_id => $reserve_id_1
}
}
);
@ -1817,8 +1817,8 @@ subtest '_Findgroupreserves' => sub {
C4::HoldsQueue::AddToHoldTargetMap(
{
$item_2->id => {
borrowernumber => $patron_2->id, biblionumber => $item->biblionumber,
holdingbranch => $item->holdingbranch, item_level => 1, reserve_id => $reserve_id_2
borrowernumber => $patron_2->id, biblionumber => $item->biblionumber,
holdingbranch => $item->holdingbranch, item_level => 1, reserve_id => $reserve_id_2
}
}
);