Skip to content

Commit 6016f47

Browse files
authored
Merge pull request #218 from lord2800/fix/despecify-test
Fix the time test to compare the timestamps directly
2 parents e57fc7a + 207f925 commit 6016f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Unit/Api/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function testGetTimeReturnsTheExpectedTime()
239239
->with($this->basePath . '/time', false)
240240
->will($this->returnValue((object)array('time' => $now->format('U'))));
241241

242-
$this->assertEquals($now, Client::getTime());
242+
$this->assertEquals($now->format('U'), Client::getTime()->format('U'));
243243
}
244244

245245
public function testGetStoreReturnsTheResultBodyDirectly()

0 commit comments

Comments
 (0)