Skip to content

Commit 57571a9

Browse files
[HttpFoundation] Fix volatile MongoDbSessionHandlerTest::testRead()
1 parent b403edd commit 57571a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function testRead()
8787

8888
// defining the timeout before the actual method call
8989
// allows to test for "greater than" values in the $criteria
90-
$testTimeout = time();
90+
$testTimeout = time() + 1;
9191

9292
$collection->expects($this->once())
9393
->method('findOne')

0 commit comments

Comments
 (0)