From 4cdab45880ac12655438a63a098f15e94f05d64d 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 Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens (cherry picked from commit 9fb827d59d0421b1f3e2de36239cef4c7411c666) Signed-off-by: Martin Renvoize (cherry picked from commit 26b9c4abac5795194a48aea017630b54e54f0fe5) Signed-off-by: Fridolin Somers --- 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 9f9945d7e9..7c75bc3dfc 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/; BEGIN { 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.39.5