Lines 483-489
my $itemnumber2 = Koha::Item->new(
Link Here
|
483 |
t::lib::Mocks::mock_preference( 'UpdateItemLocationOnCheckout', q{} ); |
483 |
t::lib::Mocks::mock_preference( 'UpdateItemLocationOnCheckout', q{} ); |
484 |
t::lib::Mocks::mock_preference( 'UpdateItemLocationOnCheckin', q{} ); |
484 |
t::lib::Mocks::mock_preference( 'UpdateItemLocationOnCheckin', q{} ); |
485 |
|
485 |
|
486 |
t::lib::Mocks::mock_preference( 'UpdateItemLocationOnCheckin', q{} ); |
|
|
487 |
AddReturn( 'barcode_4', $branchcode_1 ); |
486 |
AddReturn( 'barcode_4', $branchcode_1 ); |
488 |
my $item2 = Koha::Items->find( $itemnumber2 ); |
487 |
my $item2 = Koha::Items->find( $itemnumber2 ); |
489 |
ok( $item2->location eq 'FIC', 'UpdateItemLocationOnCheckin does not modify value when not enabled' ); |
488 |
ok( $item2->location eq 'FIC', 'UpdateItemLocationOnCheckin does not modify value when not enabled' ); |
490 |
- |
|
|