Bug 18759: (follow-up) Try to fix random failure from Circulation.t

If IndependentBranches, CanBookBeRenewed will set ITEMNOTSAMEBRANCH
or BORRNOTSAMEBRANCH flags, if the branches do not match.
This commit is contained in:
Jonathan Druart 2017-06-09 10:08:37 -03:00
parent 78b30baf3f
commit 1577460c71

View file

@ -73,6 +73,7 @@ my $borrower = {
};
# No userenv, PickupLibrary
t::lib::Mocks::mock_preference('IndependentBranches', '0');
t::lib::Mocks::mock_preference('CircControl', 'PickupLibrary');
is(
C4::Context->preference('CircControl'),