Bug 27154: Fix test if the cache is populated already

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-02-09 09:20:40 +01:00
parent 2e6b548350
commit 05a3d926f0

View file

@ -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]