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:
parent
78b30baf3f
commit
1577460c71
1 changed files with 1 additions and 0 deletions
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue