diff --git a/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php b/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php index 7815111d9d..5eb6f0b7ea 100644 --- a/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php +++ b/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php @@ -137,12 +137,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();