Bug 21159: Remove redundant mock
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
f534e799ed
commit
bb74e21d3f
1 changed files with 0 additions and 1 deletions
|
@ -483,7 +483,6 @@ my $itemnumber2 = Koha::Item->new(
|
|||
t::lib::Mocks::mock_preference( 'UpdateItemLocationOnCheckout', q{} );
|
||||
t::lib::Mocks::mock_preference( 'UpdateItemLocationOnCheckin', q{} );
|
||||
|
||||
t::lib::Mocks::mock_preference( 'UpdateItemLocationOnCheckin', q{} );
|
||||
AddReturn( 'barcode_4', $branchcode_1 );
|
||||
my $item2 = Koha::Items->find( $itemnumber2 );
|
||||
ok( $item2->location eq 'FIC', 'UpdateItemLocationOnCheckin does not modify value when not enabled' );
|
||||
|
|
Loading…
Reference in a new issue