Browse Source

Remove code from the test for SLAVEOF.

Daniele Alessandri 14 years ago
parent
commit
b396eb3c48
1 changed files with 0 additions and 6 deletions
  1. 0 6
      test/RedisCommandsTest.php

+ 0 - 6
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'));