Bugzilla – Attachment 81866 Details for
Bug 21015
Members.pm slow because it loads twice Koha::Schema
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21015: Remove unecessary 'use Koha::Schema' statements in t/
Bug-21015-Remove-unecessary-use-KohaSchema-stateme.patch (text/plain), 1.85 KB, created by
Marcel de Rooy
on 2018-11-02 07:11:11 UTC
(
hide
)
Description:
Bug 21015: Remove unecessary 'use Koha::Schema' statements in t/
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-11-02 07:11:11 UTC
Size:
1.85 KB
patch
obsolete
>From 883b084a7406cf958efe15a4f7986f26d3ce7499 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 17 Oct 2018 15:47:29 -0300 >Subject: [PATCH] Bug 21015: Remove unecessary 'use Koha::Schema' statements in > t/ >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/Koha_ExternalContent_OverDrive.t | 2 -- > t/Members/cardnumber.t | 1 - > t/db_dependent/Sitemapper.t | 1 - > t/lib/Mocks.pm | 1 - > 4 files changed, 5 deletions(-) > >diff --git a/t/Koha_ExternalContent_OverDrive.t b/t/Koha_ExternalContent_OverDrive.t >index 8afa226..c09ea29 100755 >--- a/t/Koha_ExternalContent_OverDrive.t >+++ b/t/Koha_ExternalContent_OverDrive.t >@@ -8,8 +8,6 @@ use Test::MockModule; > > use Module::Load::Conditional qw( can_load check_install ); > >-use Koha::Schema; >- > BEGIN { > if ( check_install( module => 'Test::DBIx::Class' ) ) { > plan tests => 5; >diff --git a/t/Members/cardnumber.t b/t/Members/cardnumber.t >index 47902f8..7f4e2b0 100644 >--- a/t/Members/cardnumber.t >+++ b/t/Members/cardnumber.t >@@ -7,7 +7,6 @@ use Test::MockModule; > > use t::lib::Mocks; > >-use Koha::Schema; > use_ok('C4::Members'); > > BEGIN { >diff --git a/t/db_dependent/Sitemapper.t b/t/db_dependent/Sitemapper.t >index a4cbcac..30c64cf 100755 >--- a/t/db_dependent/Sitemapper.t >+++ b/t/db_dependent/Sitemapper.t >@@ -23,7 +23,6 @@ use File::Path; > use DateTime; > use Test::MockModule; > use Test::More tests => 16; >-use Koha::Schema; > use Carp qw/croak carp/; > > >diff --git a/t/lib/Mocks.pm b/t/lib/Mocks.pm >index da20739..00c3d4f 100644 >--- a/t/lib/Mocks.pm >+++ b/t/lib/Mocks.pm >@@ -3,7 +3,6 @@ package t::lib::Mocks; > use Modern::Perl; > use C4::Context; > >-use Koha::Schema; > use Test::MockModule; > > my %configs; >-- >2.1.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 21015
:
76556
|
80751
|
80752
|
81865
| 81866