Bug 21015: Remove unecessary 'use Koha::Schema' statements in t/
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 17 Oct 2018 18:47:29 +0000 (15:47 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 8 Nov 2018 02:18:48 +0000 (02:18 +0000)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

t/Koha_ExternalContent_OverDrive.t
t/Members/cardnumber.t
t/db_dependent/Sitemapper.t
t/lib/Mocks.pm

index 8afa226..c09ea29 100755 (executable)
@@ -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;
index 47902f8..7f4e2b0 100644 (file)
@@ -7,7 +7,6 @@ use Test::MockModule;
 
 use t::lib::Mocks;
 
-use Koha::Schema;
 use_ok('C4::Members');
 
 BEGIN {
index a4cbcac..30c64cf 100755 (executable)
@@ -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/;
 
 
index da20739..00c3d4f 100644 (file)
@@ -3,7 +3,6 @@ package t::lib::Mocks;
 use Modern::Perl;
 use C4::Context;
 
-use Koha::Schema;
 use Test::MockModule;
 
 my %configs;