From 883b084a7406cf958efe15a4f7986f26d3ce7499 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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 Signed-off-by: Marcel de Rooy --- 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