Bugzilla – Attachment 64001 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), 922 bytes, created by
Jonathan Druart
on 2017-06-05 20:44:31 UTC
(
hide
)
Description:
Bug 18288 - Fix t/SocialData.t having a Test::DBIx::Class cache issue
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-05 20:44:31 UTC
Size:
922 bytes
patch
obsolete
>From 323c03972a0a629ad3907e3ecf94315448bd5f3f 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 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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
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