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:
parent
4a1001a329
commit
29cb60e92a
1 changed files with 2 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue