Skip to content

Commit 52c78b9

Browse files
committed
minor symfony#14632 [HttpFoundation] Fix volatile MongoDbSessionHandlerTest::testRead() (nicolas-grekas)
This PR was merged into the 2.3 branch. Discussion ---------- [HttpFoundation] Fix volatile MongoDbSessionHandlerTest::testRead() | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 57571a9 [HttpFoundation] Fix volatile MongoDbSessionHandlerTest::testRead()
2 parents b403edd + 57571a9 commit 52c78b9

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)