Skip to content

Commit ef0fff2

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: do not mix named and positional arguments in data provider definitions session names must not be empty add missing properties fix Contracts directory name in PHPUnit configuration [Validator][CidrValidator] Fix error message for `OutOfRangeNetmask` validation Passing null to parameter #2 ($subject) of type string is deprecated
2 parents c7dabc7 + 3d7bbf0 commit ef0fff2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Session/Storage/Handler/AbstractRedisSessionHandlerTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function testUseSessionGcMaxLifetimeAsTimeToLive()
8585

8686
public function testDestroySession()
8787
{
88-
$this->storage->open('', '');
88+
$this->storage->open('', 'test');
8989
$this->redisClient->set(self::PREFIX.'id', 'foo');
9090

9191
$this->assertTrue((bool) $this->redisClient->exists(self::PREFIX.'id'));

Tests/Session/Storage/Handler/MemcachedSessionHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function testWriteSessionWithLargeTTL()
107107

108108
public function testDestroySession()
109109
{
110-
$this->storage->open('', '');
110+
$this->storage->open('', 'sid');
111111
$this->memcached
112112
->expects($this->once())
113113
->method('delete')

0 commit comments

Comments
 (0)