From 49075d1fbd3701af1fa8bc8b6a54171e7f67df8d Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 21 Sep 2020 14:35:25 +0100 Subject: [PATCH] Bug 25755: (follow-up) Fix unit test --- t/db_dependent/Koha/Item.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/Item.t b/t/db_dependent/Koha/Item.t index bace51c164..a4d4777ffe 100755 --- a/t/db_dependent/Koha/Item.t +++ b/t/db_dependent/Koha/Item.t @@ -394,7 +394,7 @@ subtest 'request_transfer' => sub { 'Koha::Exceptions::Item::Transfer::Limit', 'Exception thrown if transfer is prevented by limits'; - my $forced_transfer = $item->request_transfer( { to => $library1, reason => 'Manual', force => 1 } ); + my $forced_transfer = $item->request_transfer( { to => $library1, reason => 'Manual', ignore_limits => 1 } ); is( ref($forced_transfer), 'Koha::Item::Transfer', 'Koha::Item->request_transfer allowed when forced' ); -- 2.20.1