From 327cb8c780d0ce607fdcaf45860770cc004866f3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 21 Mar 2017 15:53:26 -0300 Subject: [PATCH] Bug 17708: Fix use statements For an unknown reason, the use_ok('Circulation') does not work as intended (see 3660c451a36d). With the new use of C4::Log, the trick does no longer work. It does not make sense to add the use_ok('C4::Log') in Circulation.t, removing it. Signed-off-by: Jonathan Druart --- t/db_dependent/Circulation.t | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t index 3ead443..351ab77 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -17,11 +17,7 @@ use Modern::Perl; -use Test::More tests => 94; - -BEGIN { - use_ok('C4::Log') -} +use Test::More tests => 93; use DateTime; @@ -31,6 +27,7 @@ use t::lib::TestBuilder; use C4::Circulation; use C4::Biblio; use C4::Items; +use C4::Log; use C4::Members; use C4::Reserves; use C4::Overdues qw(UpdateFine CalcFine); -- 2.1.4