浏览代码

Fix failing test.

This was exactly what I meant with the @todo annotation, too bad I
forgot to temporarily adjust the test accordingly.
Daniele Alessandri 9 年之前
父节点
当前提交
629329ac76
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      tests/Predis/Connection/Aggregate/MasterSlaveReplicationTest.php

+ 0 - 2
tests/Predis/Connection/Aggregate/MasterSlaveReplicationTest.php

@@ -279,12 +279,10 @@ class MasterSlaveReplicationTest extends PredisTestCase
     {
     {
         $master = $this->getMockConnection('tcp://host1?alias=master');
         $master = $this->getMockConnection('tcp://host1?alias=master');
         $slave1 = $this->getMockConnection('tcp://host2?alias=slave1');
         $slave1 = $this->getMockConnection('tcp://host2?alias=slave1');
-        $slave2 = $this->getMockConnection('tcp://host3?alias=slave2');
 
 
         $replication = new MasterSlaveReplication();
         $replication = new MasterSlaveReplication();
         $replication->add($master);
         $replication->add($master);
         $replication->add($slave1);
         $replication->add($slave1);
-        $replication->add($slave2);
 
 
         $this->assertNull($replication->getCurrent());
         $this->assertNull($replication->getCurrent());