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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2023-05-15 17:16:20 +02:00
parent cf5fd245c0
commit 434a73b0e6

View file

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