Lines 448-461
subtest 'Holds test' => sub {
Link Here
|
448 |
my $item5 = $builder->build({ |
448 |
my $item5 = $builder->build({ |
449 |
source => 'Item', |
449 |
source => 'Item', |
450 |
value => { |
450 |
value => { |
451 |
biblionumber => $biblio_with_no_item->{biblionumber}, |
451 |
biblionumber => $biblio_with_no_item->biblionumber, |
452 |
damaged => 0, |
452 |
damaged => 0, |
453 |
} |
453 |
} |
454 |
}); |
454 |
}); |
455 |
|
455 |
|
456 |
$query = new CGI; |
456 |
$query = new CGI; |
457 |
$query->param( 'patron_id', $expired_borrowernumber); |
457 |
$query->param( 'patron_id', $expired_borrowernumber); |
458 |
$query->param( 'bib_id', $biblio_with_no_item->{biblionumber}); |
458 |
$query->param( 'bib_id', $biblio_with_no_item->biblionumber); |
459 |
$query->param( 'item_id', $item5->{itemnumber}); |
459 |
$query->param( 'item_id', $item5->{itemnumber}); |
460 |
|
460 |
|
461 |
$reply = C4::ILSDI::Services::HoldItem( $query ); |
461 |
$reply = C4::ILSDI::Services::HoldItem( $query ); |
462 |
- |
|
|