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