From 56dac2c6f8c4fccfe2b634d2680e1423afc80f71 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 4 Oct 2021 10:52:29 +0200 Subject: [PATCH] Bug 28931: Remove unused Koha::DateUtils from tests Content-Type: text/plain; charset=utf-8 Signed-off-by: Marcel de Rooy --- t/db_dependent/Circulation/IsItemIssued.t | 1 - t/db_dependent/Koha/SearchEngine/Indexer.t | 1 - t/db_dependent/Koha/Template/Plugin/TablesSettings.t | 1 - t/db_dependent/Log.t | 1 - t/db_dependent/SIP/ILS.t | 1 - 5 files changed, 5 deletions(-) diff --git a/t/db_dependent/Circulation/IsItemIssued.t b/t/db_dependent/Circulation/IsItemIssued.t index e214882783..b2625617ed 100755 --- a/t/db_dependent/Circulation/IsItemIssued.t +++ b/t/db_dependent/Circulation/IsItemIssued.t @@ -24,7 +24,6 @@ use C4::Circulation qw( IsItemIssued AddIssue AddReturn ); use C4::Items; use C4::Biblio qw( AddBiblio ); use Koha::Database; -use Koha::DateUtils; use Koha::Items; use Koha::Patrons; diff --git a/t/db_dependent/Koha/SearchEngine/Indexer.t b/t/db_dependent/Koha/SearchEngine/Indexer.t index 610a738060..dc885e1153 100755 --- a/t/db_dependent/Koha/SearchEngine/Indexer.t +++ b/t/db_dependent/Koha/SearchEngine/Indexer.t @@ -20,7 +20,6 @@ use C4::Biblio qw( ModZebra ModBiblio ModBiblioMarc DelBiblio ); use C4::Circulation qw( MarkIssueReturned AddReturn LostItem ); use C4::Items qw( ModDateLastSeen ModItemTransfer ); use Koha::Database; -use Koha::DateUtils; use Koha::SearchEngine::Elasticsearch; use Koha::SearchEngine::Indexer; diff --git a/t/db_dependent/Koha/Template/Plugin/TablesSettings.t b/t/db_dependent/Koha/Template/Plugin/TablesSettings.t index 4c5d333ba5..0aa04fa6de 100755 --- a/t/db_dependent/Koha/Template/Plugin/TablesSettings.t +++ b/t/db_dependent/Koha/Template/Plugin/TablesSettings.t @@ -3,7 +3,6 @@ use Modern::Perl; use C4::Context; -use Koha::DateUtils; use Test::MockModule; use Test::More tests => 3; diff --git a/t/db_dependent/Log.t b/t/db_dependent/Log.t index b3084ce924..2bdadb079e 100755 --- a/t/db_dependent/Log.t +++ b/t/db_dependent/Log.t @@ -21,7 +21,6 @@ use C4::Context; use C4::Log qw( logaction cronlogaction ); use C4::Auth qw( checkpw ); use Koha::Database; -use Koha::DateUtils; use Koha::ActionLogs; use t::lib::Mocks qw/mock_preference/; # to mock CronjobLog diff --git a/t/db_dependent/SIP/ILS.t b/t/db_dependent/SIP/ILS.t index c4298cd056..c117e53763 100755 --- a/t/db_dependent/SIP/ILS.t +++ b/t/db_dependent/SIP/ILS.t @@ -29,7 +29,6 @@ use C4::Reserves qw( AddReserve ); use C4::Circulation qw( AddIssue ); use Koha::CirculationRules; use Koha::Database; -use Koha::DateUtils; use Koha::Holds; BEGIN { -- 2.20.1