From 1577460c713e3ac7e602dce81738f974e86ddf9d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 9 Jun 2017 10:08:37 -0300 Subject: [PATCH] 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. --- t/db_dependent/Circulation.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t index 995ffbca11..9d0f77c005 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -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'), -- 2.11.0