Bug 21133: Fix use statements order
[srvgit] / t / db_dependent / Items.t
index ef09873..92151d6 100755 (executable)
@@ -20,7 +20,9 @@ use Modern::Perl;
 use Data::Dumper;
 
 use MARC::Record;
+use C4::Items;
 use C4::Biblio;
+use Koha::Items;
 use Koha::Database;
 use Koha::DateUtils qw( dt_from_string );
 use Koha::Library;
@@ -31,15 +33,10 @@ use Koha::Caches;
 use t::lib::Mocks;
 use t::lib::TestBuilder;
 
-use Test::More tests => 14;
+use Test::More tests => 12;
 
 use Test::Warn;
 
-BEGIN {
-    use_ok('C4::Items');
-    use_ok('Koha::Items');
-}
-
 my $schema = Koha::Database->new->schema;
 my $location = 'My Location';