From 5f7aad7a6a58cd40909dbd7f04856f2a195e0d4c 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/ Signed-off-by: Jonathan Druart --- 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