|
@@ -148,6 +148,8 @@ BUFFER;
|
|
*/
|
|
*/
|
|
public function testGetsNameOfConnection()
|
|
public function testGetsNameOfConnection()
|
|
{
|
|
{
|
|
|
|
+ $this->markTestSkippedOnRedisVersionBelow('2.6.9');
|
|
|
|
+
|
|
$redis = $this->getClient();
|
|
$redis = $this->getClient();
|
|
$clientName = $redis->client('GETNAME');
|
|
$clientName = $redis->client('GETNAME');
|
|
$this->assertNull($clientName);
|
|
$this->assertNull($clientName);
|
|
@@ -162,6 +164,8 @@ BUFFER;
|
|
*/
|
|
*/
|
|
public function testSetsNameOfConnection()
|
|
public function testSetsNameOfConnection()
|
|
{
|
|
{
|
|
|
|
+ $this->markTestSkippedOnRedisVersionBelow('2.6.9');
|
|
|
|
+
|
|
$redis = $this->getClient();
|
|
$redis = $this->getClient();
|
|
|
|
|
|
$expectedConnectionName = 'foo-baz';
|
|
$expectedConnectionName = 'foo-baz';
|
|
@@ -188,6 +192,8 @@ BUFFER;
|
|
*/
|
|
*/
|
|
public function testInvalidSetNameOfConnection($invalidConnectionName)
|
|
public function testInvalidSetNameOfConnection($invalidConnectionName)
|
|
{
|
|
{
|
|
|
|
+ $this->markTestSkippedOnRedisVersionBelow('2.6.9');
|
|
|
|
+
|
|
$redis = $this->getClient();
|
|
$redis = $this->getClient();
|
|
$redis->client('SETNAME', $invalidConnectionName);
|
|
$redis->client('SETNAME', $invalidConnectionName);
|
|
}
|
|
}
|