diff --git a/t/db_dependent/Filter_MARC_ViewPolicy.t b/t/db_dependent/Filter_MARC_ViewPolicy.t index 8f3c744358..1b03f807ac 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