Repository: incubator-trafficcontrol Updated Branches: refs/heads/psql-rebase 1e0926d02 -> 5bada9d0b
fixed mday to remove -1 calc Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/3da94ae5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/3da94ae5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/3da94ae5 Branch: refs/heads/psql-rebase Commit: 3da94ae59eaa3e010ac806354cae04f1fbb598aa Parents: 1e0926d Author: Dewayne Richardson <dewr...@apache.org> Authored: Thu Dec 1 11:33:11 2016 -0700 Committer: Dewayne Richardson <dewr...@apache.org> Committed: Thu Dec 1 11:33:11 2016 -0700 ---------------------------------------------------------------------- traffic_ops/app/t/api/1.2/stats_summary.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3da94ae5/traffic_ops/app/t/api/1.2/stats_summary.t ---------------------------------------------------------------------- diff --git a/traffic_ops/app/t/api/1.2/stats_summary.t b/traffic_ops/app/t/api/1.2/stats_summary.t index fd3c154..a007091 100644 --- a/traffic_ops/app/t/api/1.2/stats_summary.t +++ b/traffic_ops/app/t/api/1.2/stats_summary.t @@ -52,7 +52,7 @@ my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); my $summary_time = sprintf ( "%04d-%02d-%02d %02d:%02d:%02d", $year+1900,$mon+1,$mday,$hour,$min,$sec); my $stat_date = sprintf ( "%04d-%02d-%02d", - $year+1900,$mon+1,$mday-1); + $year+1900,$mon+1,$mday); #login ok $t->post_ok( '/api/1.1/user/login', json => { u => Test::TestHelper::ADMIN_USER, p => Test::TestHelper::ADMIN_USER_PASSWORD } )->status_is(200),