Skip to content

Commit 6fb381b

Browse files
committed
Fix times
1 parent 31e4e00 commit 6fb381b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/wpunit/APITest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -756,8 +756,8 @@ public function testGetGrowthStatsWithStartDate()
756756
$this->assertArrayHasKey('ending', $result['stats']);
757757

758758
// Assert start and end dates were honored.
759-
$this->assertEquals($result['stats']['starting'], $starting->format('Y-m-d') . 'T00:00:00-05:00');
760-
$this->assertEquals($result['stats']['ending'], $ending->format('Y-m-d') . 'T23:59:59-05:00');
759+
$this->assertEquals($result['stats']['starting'], $starting->format('Y-m-d') . 'T00:00:00-04:00');
760+
$this->assertEquals($result['stats']['ending'], $ending->format('Y-m-d') . 'T23:59:59-04:00');
761761
}
762762

763763
/**
@@ -790,8 +790,8 @@ public function testGetGrowthStatsWithEndDate()
790790
$this->assertArrayHasKey('ending', $result['stats']);
791791

792792
// Assert start and end dates were honored.
793-
$this->assertEquals($result['stats']['starting'], $starting->format('Y-m-d') . 'T00:00:00-05:00');
794-
$this->assertEquals($result['stats']['ending'], $ending->format('Y-m-d') . 'T23:59:59-05:00');
793+
$this->assertEquals($result['stats']['starting'], $starting->format('Y-m-d') . 'T00:00:00-04:00');
794+
$this->assertEquals($result['stats']['ending'], $ending->format('Y-m-d') . 'T23:59:59-04:00');
795795
}
796796

797797
/**

0 commit comments

Comments
 (0)