From 1026a340971cc411fb65216ed877ddbb40e1cfb4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 4 Oct 2021 10:52:29 +0200 Subject: [PATCH] Bug 28931: Remove unuse Koha::DateUtils from tests --- 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 e214882783c..b2625617edf 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 610a7380605..dc885e1153d 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 4c5d333ba5a..0aa04fa6de7 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 b3084ce924e..2bdadb079ef 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 c4298cd056b..c117e537632 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.25.1