From d598f65d0550ae1ef412dfd56b504cf37f3dee5d 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 --- 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