From 03e4ab0cd3ddf038a025346c809a624fff433e0c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 7 Apr 2023 21:46:24 +0000 Subject: [PATCH] Bug 33447: Adjust tests Signed-off-by: emlam Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 89fb8f31aba8ee43ed42b8963eb6ec843130f8d2) Signed-off-by: Jacob O'Mara --- t/db_dependent/Koha/Biblio.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/db_dependent/Koha/Biblio.t b/t/db_dependent/Koha/Biblio.t index 6976c7fb3c..69464c2661 100755 --- a/t/db_dependent/Koha/Biblio.t +++ b/t/db_dependent/Koha/Biblio.t @@ -24,6 +24,7 @@ use C4::Biblio qw( AddBiblio ModBiblio ModBiblioMarc ); use C4::Circulation qw( AddIssue AddReturn ); use Koha::Database; +use Koha::Cache::Memory::Lite; use Koha::Caches; use Koha::Acquisition::Orders; use Koha::AuthorisedValueCategories; @@ -435,6 +436,8 @@ subtest 'pickup_locations' => sub { } foreach my $cbranch ('ItemHomeLibrary','PatronLibrary') { + my $cache = Koha::Cache::Memory::Lite->get_instance(); + $cache->flush(); foreach my $biblio ($biblio1, $biblio2) { foreach my $patron ($patron1, $patron8) { _doTest($cbranch, $biblio, $patron, $results); -- 2.20.1