[open-ils-commits] [GIT] Evergreen ILS branch master updated. 9ed71b6bb17b9c15b700b48999d9014168deff63

Evergreen Git git at git.evergreen-ils.org
Thu Apr 21 23:14:45 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, master has been updated
       via  9ed71b6bb17b9c15b700b48999d9014168deff63 (commit)
      from  982ee6f2a1beae7af0f71c24087b2e6c16025cd0 (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 9ed71b6bb17b9c15b700b48999d9014168deff63
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/11-lp1481036-future-backdate.t b/Open-ILS/src/perlmods/live_t/11-lp1481036-future-backdate.t
index a249093..1d7ae08 100644
--- a/Open-ILS/src/perlmods/live_t/11-lp1481036-future-backdate.t
+++ b/Open-ILS/src/perlmods/live_t/11-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/11-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