From 07e543167ea5142a8ec7f53fd3eb9a3906482169 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 15 May 2023 17:16:20 +0200 Subject: [PATCH] Bug 32648: Clear cache in Filter_MARC_ViewPolicy.t Search.t is failing if run after Filter_MARC_ViewPolicy.t because of a missing flush --- t/db_dependent/Filter_MARC_ViewPolicy.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/db_dependent/Filter_MARC_ViewPolicy.t b/t/db_dependent/Filter_MARC_ViewPolicy.t index 8f3c7443588..1b03f807ac1 100755 --- a/t/db_dependent/Filter_MARC_ViewPolicy.t +++ b/t/db_dependent/Filter_MARC_ViewPolicy.t @@ -205,3 +205,5 @@ subtest 'Koha::Filter::MARC::ViewPolicy intranet tests' => sub { $schema->storage->txn_rollback(); }; +my $cache = Koha::Caches->get_instance(); +$cache->flush_all(); # Clear cache for the other tests -- 2.25.1