|
Lines 216-227
subtest do_hold => sub {
Link Here
|
| 216 |
); |
216 |
); |
| 217 |
|
217 |
|
| 218 |
my $reserve1 = AddReserve( |
218 |
my $reserve1 = AddReserve( |
| 219 |
{ |
219 |
$library->branchcode, |
| 220 |
branchcode => $library->branchcode, |
220 |
$patron_1->borrowernumber, |
| 221 |
borrowernumber => $patron_1->borrowernumber, |
221 |
$item->biblio->biblionumber, |
| 222 |
biblionumber => $item->biblio->biblionumber, |
222 |
undef, undef, undef, undef, undef, undef, |
| 223 |
itemnumber => $item->itemnumber, |
223 |
$item->itemnumber, |
| 224 |
} |
|
|
| 225 |
); |
224 |
); |
| 226 |
is( $item->biblio->holds->count(), 1, "Hold was placed on bib" ); |
225 |
is( $item->biblio->holds->count(), 1, "Hold was placed on bib" ); |
| 227 |
is( $item->holds->count(), 1, "Hold was placed on specific item" ); |
226 |
is( $item->holds->count(), 1, "Hold was placed on specific item" ); |
| 228 |
- |
|
|