Skip to content

Commit e391ecb

Browse files
committed
feat(ClockMockTest): add test on strtotime()
1 parent 93348d2 commit e391ecb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Bridge/PhpUnit/Tests/ClockMockTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,9 @@ public function testHrTimeAsNumber()
7979
{
8080
$this->assertSame(1234567890125000000, hrtime(true));
8181
}
82+
83+
public function testStrToTime()
84+
{
85+
$this->assertSame(1234567890, strtotime('now'));
86+
}
8287
}

0 commit comments

Comments
 (0)