From 872be7b4ddf0605eb33b47f838d3c3d471754b00 Mon Sep 17 00:00:00 2001
From: Julian Maurice <julian.maurice@biblibre.com>
Date: Fri, 29 May 2020 12:44:48 +0400
Subject: [PATCH] Bug 25621: Fix DateUtils tests when timezone is not UTC

---
 t/DateUtils.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/DateUtils.t b/t/DateUtils.t
index 3c861d6fbe..18dc7a4b44 100755
--- a/t/DateUtils.t
+++ b/t/DateUtils.t
@@ -17,6 +17,7 @@ BEGIN { use_ok('Koha::DateUtils'); }
 
 t::lib::Mocks::mock_preference('dateformat', 'us');
 t::lib::Mocks::mock_preference('TimeFormat', 'This_is_not_used_but_called');
+t::lib::Mocks::mock_config('timezone', 'UTC');
 
 my $tz = C4::Context->tz;
 
-- 
2.20.1