[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. 9d99d22ecce50461a81a1249d1f35529b9a910af
Evergreen Git
git at git.evergreen-ils.org
Thu Apr 21 23:14:46 EDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_10 has been updated
via 9d99d22ecce50461a81a1249d1f35529b9a910af (commit)
from e0e72f96524b5e6e6853bc838efc660c62f6c960 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9d99d22ecce50461a81a1249d1f35529b9a910af
Author: Jason Stephenson <jason at sigio.com>
Date: Thu Apr 21 23:00:09 2016 -0400
LP#1573364: Use a timezone in the future backdate checkin test.
Signed-off-by: Jason Stephenson <jason at sigio.com>
Signed-off-by: Ben Shum <ben at evergreener.net>
diff --git a/Open-ILS/src/perlmods/live_t/10-lp1481036-future-backdate.t b/Open-ILS/src/perlmods/live_t/10-lp1481036-future-backdate.t
index a249093..1d7ae08 100644
--- a/Open-ILS/src/perlmods/live_t/10-lp1481036-future-backdate.t
+++ b/Open-ILS/src/perlmods/live_t/10-lp1481036-future-backdate.t
@@ -27,7 +27,7 @@ my $checkin_resp = $script->do_checkin({
is(ref $checkin_resp,'HASH','Checkin request returned a HASH');
-my $ymd = DateTime->now->strftime('%F');
+my $ymd = DateTime->now->set_time_zone(DateTime::TimeZone->new( name => "local" ))->strftime('%F');
ok(
substr($checkin_resp->{payload}->{circ}->checkin_time, 0, 10) eq $ymd,
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/live_t/10-lp1481036-future-backdate.t | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list