Bugzilla – Attachment 61188 Details for
Bug 18288
Fix t/SocialData.t having a Test::DBIx::Class cache issue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18288 - Fix t/SocialData.t having a Test::DBIx::Class cache issue
Bug-18288---Fix-tSocialDatat-having-a-TestDBIxClas.patch (text/plain), 841 bytes, created by
Olli-Antti Kivilahti
on 2017-03-16 19:27:03 UTC
(
hide
)
Description:
Bug 18288 - Fix t/SocialData.t having a Test::DBIx::Class cache issue
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2017-03-16 19:27:03 UTC
Size:
841 bytes
patch
obsolete
>From 57bd0aabee17419a03feaebb9c0d8cc7a9b058e8 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >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 >--- > t/SocialData.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/SocialData.t b/t/SocialData.t >index eec1e5c..cf1d5ff 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.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18288
:
61188
|
64001