From b396eb3c484768f49d9ba646f0578409c30b514b Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Sun, 24 Apr 2011 10:03:23 +0200 Subject: [PATCH] Remove code from the test for SLAVEOF. --- test/RedisCommandsTest.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/RedisCommandsTest.php b/test/RedisCommandsTest.php index d96a1c15..ec6548da 100644 --- a/test/RedisCommandsTest.php +++ b/test/RedisCommandsTest.php @@ -2049,15 +2049,9 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase { $masterPort = 80; $this->assertTrue($this->redis->slaveof($masterHost, $masterPort)); - $serverInfo = $this->redis->info(); - $this->assertEquals('slave', $serverInfo['role']); - $this->assertEquals($masterHost, $serverInfo['master_host']); - $this->assertEquals($masterPort, $serverInfo['master_port']); // slave of NO ONE, the implicit way $this->assertTrue($this->redis->slaveof()); - $serverInfo = $this->redis->info(); - $this->assertEquals('master', $serverInfo['role']); // slave of NO ONE, the explicit way $this->assertTrue($this->redis->slaveof('NO ONE'));