Bugzilla – Attachment 64005 Details for
Bug 18286
Test::DBIx::Class connection/schema is shadowed by a cached connection/schema
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18286: [Follow-up] Add t/etc/schema.pl
Bug-18286-Follow-up-Add-tetcschemapl.patch (text/plain), 1.04 KB, created by
Jonathan Druart
on 2017-06-05 20:53:40 UTC
(
hide
)
Description:
Bug 18286: [Follow-up] Add t/etc/schema.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-05 20:53:40 UTC
Size:
1.04 KB
patch
obsolete
>From 73361d03157090f259a951a7b9a5467d51f26d9c Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 2 May 2017 15:44:47 +0200 >Subject: [PATCH] Bug 18286: [Follow-up] Add t/etc/schema.pl > >We need this file here already. >Copied from bug 18226 and adjusted in order to keep qa tools quiet. > >Test plan: >Run t/db_dependent/01-test_dbic.t again. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/etc/schema.pl | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 t/etc/schema.pl > >diff --git a/t/etc/schema.pl b/t/etc/schema.pl >new file mode 100644 >index 0000000000..52eccbe8fa >--- /dev/null >+++ b/t/etc/schema.pl >@@ -0,0 +1,9 @@ >+use Modern::Perl; >+ >+return { >+ schema_class => 'Koha::Schema', >+# This is the default option when nothing is defined >+# connect_info => ['dbi:SQLite:dbname=:memory:','',''], >+ connect_opts => { name_sep => '.', quote_char => '`', sqlite_unicode => 1 }, >+ fixture_class => '::Populate', >+}; >-- >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 18286
:
61186
|
62963
|
62964
|
62965
|
62966
|
64004
| 64005 |
64006
|
64007