diff --git a/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php b/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php index 18c3f87533..9ef3abaea9 100644 --- a/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php +++ b/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php @@ -119,12 +119,12 @@ class StopwatchEventTest extends \PHPUnit_Framework_TestCase public function testStartTime() { $event = new StopwatchEvent(microtime(true) * 1000); - $this->assertLessThan(0.5, $event->getStartTime()); + $this->assertLessThanOrEqual(0.5, $event->getStartTime()); $event = new StopwatchEvent(microtime(true) * 1000); $event->start(); $event->stop(); - $this->assertLessThan(1, $event->getStartTime()); + $this->assertLessThanOrEqual(1, $event->getStartTime()); $event = new StopwatchEvent(microtime(true) * 1000); $event->start();