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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 28 Nov 2018 14:37:41 +0000 (15:37 +0100)
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>
(cherry picked from commit 9fb827d59d0421b1f3e2de36239cef4c7411c666)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 26b9c4abac5795194a48aea017630b54e54f0fe5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.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 9f9945d..7c75bc3 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/;
 
 BEGIN {
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;