Bugzilla – Attachment 105433 Details for
Bug 25621
Some tests in t/DateUtils.t fail when timezone is not UTC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25621: Fix DateUtils tests when timezone is not UTC
Bug-25621-Fix-DateUtils-tests-when-timezone-is-not.patch (text/plain), 688 bytes, created by
Julian Maurice
on 2020-05-29 09:06:05 UTC
(
hide
)
Description:
Bug 25621: Fix DateUtils tests when timezone is not UTC
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-05-29 09:06:05 UTC
Size:
688 bytes
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25621
: 105433