Bug 30403: (QA follow-up) Fix warning in unit test
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
b1731a54e5
commit
d320d98a2e
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ my $itemnumber4 = Koha::Item->new(
|
|||
|
||||
t::lib::Mocks::mock_preference( 'UpdateNotForLoanStatusOnCheckout', q{} );
|
||||
AddIssue( $borrower_2, 'barcode_6', dt_from_string );
|
||||
my $item = Koha::Items->find( $itemnumber4 );
|
||||
$item = Koha::Items->find( $itemnumber4 );
|
||||
ok( $item->notforloan eq -1, 'UpdateNotForLoanStatusOnCheckout does not modify value when not enabled' );
|
||||
|
||||
t::lib::Mocks::mock_preference( 'UpdateNotForLoanStatusOnCheckout', '-1: 0' );
|
||||
|
|
Loading…
Reference in a new issue