Bugzilla – Attachment 80752 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.78 KB, created by
Jonathan Druart
on 2018-10-17 18:49:45 UTC
(
hide
)
Description:
Bug 21015: Remove unecessary 'use Koha::Schema' statements in t/
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-10-17 18:49:45 UTC
Size:
1.78 KB
patch
obsolete
>From 5f7aad7a6a58cd40909dbd7f04856f2a195e0d4c 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/ > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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 8afa226679..c09ea2952d 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 47902f8a0b..7f4e2b0535 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 a4cbcac0f5..30c64cfd1d 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 da207399ce..00c3d4fcdc 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.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 21015
:
76556
|
80751
|
80752
|
81865
|
81866