Bugzilla – Attachment 64000 Details for
Bug 18287
Fix t/Koha.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 18287 - Fix t/Koha.t having a Test::DBIx::Class cache issue
Bug-18287---Fix-tKohat-having-a-TestDBIxClass-cach.patch (text/plain), 824 bytes, created by
Jonathan Druart
on 2017-06-05 20:43:32 UTC
(
hide
)
Description:
Bug 18287 - Fix t/Koha.t having a Test::DBIx::Class cache issue
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-05 20:43:32 UTC
Size:
824 bytes
patch
obsolete
>From 9e7f1e55a8dbe78529434aecf8c51fd700772f58 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Thu, 16 Mar 2017 21:17:24 +0200 >Subject: [PATCH] Bug 18287 - Fix t/Koha.t having a Test::DBIx::Class cache > issue > >REPLICATE ISSUE: > >perl t/Koha.t -> fails > >AFTER THIS PATCH AND DEPENDENCIES: > >perl t/Koha.t -> OK > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/Koha.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/Koha.t b/t/Koha.t >index 2e11ab7b48..dd0e4a4473 100755 >--- a/t/Koha.t >+++ b/t/Koha.t >@@ -47,6 +47,7 @@ sub fixtures { > > my $db = Test::MockModule->new('Koha::Database'); > $db->mock( _new_schema => sub { return Schema(); } ); >+Koha::Database::flush_schema_cache(); > > my $libraries = [ > ['XXX_test', 'my branchname XXX'], >-- >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 18287
:
61187
| 64000