From b215b3487f88ccc039c475f1537cd908c439cd4a Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 28 Apr 2022 11:07:17 +0000 Subject: [PATCH] Bug 29755: (follow-up) Mock NoIssuesChargeGuarantorsWithGuarantees in test --- t/db_dependent/SIP/Patron.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/db_dependent/SIP/Patron.t b/t/db_dependent/SIP/Patron.t index f307e29a4f..1c718bd1f1 100755 --- a/t/db_dependent/SIP/Patron.t +++ b/t/db_dependent/SIP/Patron.t @@ -287,6 +287,7 @@ subtest "NoIssuesChargeGuarantees tests" => sub { $child->add_guarantor({ guarantor_id => $patron->borrowernumber, relationship => 'parent' }); t::lib::Mocks::mock_preference('NoIssuesChargeGuarantees', 1); + t::lib::Mocks::mock_preference('NoIssuesChargeGuarantorsWithGuarantees', undef); my $fee1 = $builder->build_object( { -- 2.30.2