Bug 8367: (QA follow-up) Fix broken tests in Reserves.t

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomás Cohen Arazi 2023-11-02 10:39:24 -03:00
parent 4a1001a329
commit 29cb60e92a
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -692,6 +692,7 @@ MoveReserve( $item->itemnumber, $borrowernumber );
($status)=CheckReserves( $item );
is( $status, '', 'MoveReserve filled hold');
# hold from A waiting, today, no fut holds: MoveReserve should fill it
my $other_item = $builder->build_sample_item({ biblionumber => $biblio->id });
AddReserve(
{
branchcode => $branch_1,
@ -699,6 +700,7 @@ AddReserve(
biblionumber => $bibnum,
priority => 1,
found => 'W',
itemnumber => $other_item->id,
}
);
MoveReserve( $item->itemnumber, $borrowernumber );