Lines 103-114
subtest cancel_hold => sub {
Link Here
|
103 |
); |
103 |
); |
104 |
|
104 |
|
105 |
my $reserve1 = AddReserve( |
105 |
my $reserve1 = AddReserve( |
106 |
{ |
106 |
$library->branchcode, |
107 |
branchcode => $library->branchcode, |
107 |
$patron->borrowernumber, |
108 |
borrowernumber => $patron->borrowernumber, |
108 |
$item->biblio->biblionumber, |
109 |
biblionumber => $item->biblio->biblionumber, |
109 |
undef, undef, undef, undef, undef, undef, |
110 |
itemnumber => $item->itemnumber, |
110 |
$item->itemnumber, |
111 |
} |
|
|
112 |
); |
111 |
); |
113 |
is( $item->biblio->holds->count(), 1, "Hold was placed on bib"); |
112 |
is( $item->biblio->holds->count(), 1, "Hold was placed on bib"); |
114 |
is( $item->holds->count(),1,"Hold was placed on specific item"); |
113 |
is( $item->holds->count(),1,"Hold was placed on specific item"); |
115 |
- |
|
|