From 57571a9612a010b7f1243990738cb728bfdcfd35 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Thu, 14 May 2015 10:16:30 +0200 Subject: [PATCH] [HttpFoundation] Fix volatile MongoDbSessionHandlerTest::testRead() --- .../Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php index c4031d8c1c..65b9697505 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php @@ -87,7 +87,7 @@ class MongoDbSessionHandlerTest extends \PHPUnit_Framework_TestCase // defining the timeout before the actual method call // allows to test for "greater than" values in the $criteria - $testTimeout = time(); + $testTimeout = time() + 1; $collection->expects($this->once()) ->method('findOne')