[Koha-bugs] [Bug 23234] Circulation.t failing when comparing dates that seem identicals
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 24 12:31:21 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23234
--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 94652
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94652&action=edit
Bug 23234: Mock DateTime->now using the time zone
The timezone of the two dt was different, one was UTC, the other one was
my local one.
When we mocked DateTime->now we did not use the time zone, we must use
dt_from_string instead
Test plan:
Make sure your environment has a different time zone than UTC
`prove t/db_dependent/Circulation.t` should fail without this patch
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list