From a9e5b42388e01c19e65641304cf6d15c58cd50b6 Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Thu, 16 Mar 2017 21:28:08 +0200 Subject: [PATCH] Bug 18289 - Fix t/Prices.t having a Test::DBIx::Class cache issue REPLICATE ISSUE: perl t/Prices.t -> fails AFTER THIS PATCH AND DEPENDENCIES: perl t/Prices.t -> OK Signed-off-by: Jonathan Druart --- t/Prices.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/Prices.t b/t/Prices.t index c65f2033a8..46e2a3ace3 100644 --- a/t/Prices.t +++ b/t/Prices.t @@ -24,6 +24,7 @@ use Test::DBIx::Class; my $db = Test::MockModule->new('Koha::Database'); $db->mock( _new_schema => sub { return Schema(); } ); +Koha::Database::flush_schema_cache(); fixtures_ok [ Currency => [ -- 2.11.0