Lines 506-512
subtest 'request_transfer' => sub {
Link Here
|
506 |
'Koha::Exceptions::Item::Transfer::Limit', |
506 |
'Koha::Exceptions::Item::Transfer::Limit', |
507 |
'Exception thrown if transfer is prevented by limits'; |
507 |
'Exception thrown if transfer is prevented by limits'; |
508 |
|
508 |
|
509 |
my $forced_transfer = $item->request_transfer( { to => $library1, reason => 'Manual', force => 1 } ); |
509 |
my $forced_transfer = $item->request_transfer( { to => $library1, reason => 'Manual', ignore_limits => 1 } ); |
510 |
is( ref($forced_transfer), 'Koha::Item::Transfer', |
510 |
is( ref($forced_transfer), 'Koha::Item::Transfer', |
511 |
'Koha::Item->request_transfer allowed when forced' |
511 |
'Koha::Item->request_transfer allowed when forced' |
512 |
); |
512 |
); |
513 |
- |
|
|