From 5d287e4312cdb04a657c9344ad945ba4328772bc 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 --- t/Prices.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/Prices.t b/t/Prices.t index c65f203..46e2a3a 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.7.4