Bug 33447: Adjust tests

Signed-off-by: emlam <emily.lamancusa@montgomerycountymd.gov>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2023-04-07 21:46:24 +00:00 committed by Tomas Cohen Arazi
parent 55dc8573c7
commit 89fb8f31ab
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 3 additions and 0 deletions

View File

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