Lines 394-400
subtest 'request_transfer' => sub {
Link Here
|
394 |
'Koha::Exceptions::Item::Transfer::Limit', |
394 |
'Koha::Exceptions::Item::Transfer::Limit', |
395 |
'Exception thrown if transfer is prevented by limits'; |
395 |
'Exception thrown if transfer is prevented by limits'; |
396 |
|
396 |
|
397 |
my $forced_transfer = $item->request_transfer( { to => $library1, reason => 'Manual', force => 1 } ); |
397 |
my $forced_transfer = $item->request_transfer( { to => $library1, reason => 'Manual', ignore_limits => 1 } ); |
398 |
is( ref($forced_transfer), 'Koha::Item::Transfer', |
398 |
is( ref($forced_transfer), 'Koha::Item::Transfer', |
399 |
'Koha::Item->request_transfer allowed when forced' |
399 |
'Koha::Item->request_transfer allowed when forced' |
400 |
); |
400 |
); |
401 |
- |
|
|