From 47201fdb27141fec14b120054a96454477e28ad8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 9 Feb 2021 09:20:40 +0100 Subject: [PATCH] Bug 27154: Fix test if the cache is populated already Signed-off-by: Jonathan Druart (cherry picked from commit 05a3d926f00d8b8f8b0d14bb91f23290e8684c18) Signed-off-by: Fridolin Somers --- t/db_dependent/Koha/Config/SysPrefs.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/Config/SysPrefs.t b/t/db_dependent/Koha/Config/SysPrefs.t index c52a732ffb..7fe975b338 100755 --- a/t/db_dependent/Koha/Config/SysPrefs.t +++ b/t/db_dependent/Koha/Config/SysPrefs.t @@ -48,7 +48,7 @@ subtest 'get_yaml_pref_hash' => sub { plan tests => 1; my $the_pref = Koha::Config::SysPrefs->find({variable=>'ItemsDeniedRenewal'}); - $the_pref->value(q{ + t::lib::Mocks::mock_preference('ItemsDeniedRenewal', q{ nulled: [NULL,''] this: [just_that] multi_this: [that,another] -- 2.20.1