View | Details | Raw Unified | Return to bug 30403
Collapse All | Expand All

(-)a/t/db_dependent/Circulation/issue.t (-2 / +1 lines)
Lines 558-564 my $itemnumber4 = Koha::Item->new( Link Here
558
558
559
t::lib::Mocks::mock_preference( 'UpdateNotForLoanStatusOnCheckout', q{} );
559
t::lib::Mocks::mock_preference( 'UpdateNotForLoanStatusOnCheckout', q{} );
560
AddIssue( $borrower_2, 'barcode_6', dt_from_string );
560
AddIssue( $borrower_2, 'barcode_6', dt_from_string );
561
my $item = Koha::Items->find( $itemnumber4 );
561
$item = Koha::Items->find( $itemnumber4 );
562
ok( $item->notforloan eq -1, 'UpdateNotForLoanStatusOnCheckout does not modify value when not enabled' );
562
ok( $item->notforloan eq -1, 'UpdateNotForLoanStatusOnCheckout does not modify value when not enabled' );
563
563
564
t::lib::Mocks::mock_preference( 'UpdateNotForLoanStatusOnCheckout', '-1: 0' );
564
t::lib::Mocks::mock_preference( 'UpdateNotForLoanStatusOnCheckout', '-1: 0' );
565
- 

Return to bug 30403