Bug 24553: Fix tests for 19.11.x

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2020-04-07 15:30:06 +02:00 committed by Joy Nelson
parent 3b697742db
commit ca3178fa3b
1 changed files with 5 additions and 6 deletions

View File

@ -103,12 +103,11 @@ subtest cancel_hold => sub {
);
my $reserve1 = AddReserve(
{
branchcode => $library->branchcode,
borrowernumber => $patron->borrowernumber,
biblionumber => $item->biblio->biblionumber,
itemnumber => $item->itemnumber,
}
$library->branchcode,
$patron->borrowernumber,
$item->biblio->biblionumber,
undef, undef, undef, undef, undef, undef,
$item->itemnumber,
);
is( $item->biblio->holds->count(), 1, "Hold was placed on bib");
is( $item->holds->count(),1,"Hold was placed on specific item");