From 323c03972a0a629ad3907e3ecf94315448bd5f3f Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Thu, 16 Mar 2017 21:26:36 +0200 Subject: [PATCH] Bug 18288 - Fix t/SocialData.t having a Test::DBIx::Class cache issue REPLICATE ISSUE: perl t/SocialData.t -> fails AFTER THIS PATCH AND DEPENDENCIES: perl t/SocialData.t -> OK Signed-off-by: Jonathan Druart --- t/SocialData.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/SocialData.t b/t/SocialData.t index eec1e5cf07..cf1d5ff65a 100644 --- a/t/SocialData.t +++ b/t/SocialData.t @@ -56,6 +56,7 @@ fixtures_ok [ my $db = Test::MockModule->new('Koha::Database'); $db->mock( _new_schema => sub { return Schema(); } ); +Koha::Database::flush_schema_cache(); my $data = C4::SocialData::get_data(); is( $data, undef, 'get_data should return undef if no param given'); -- 2.11.0