More random fixes after inspection.

This commit is contained in:
Daniele Alessandri
2014-07-27 22:28:21 +02:00
parent 4e1186f845
commit dbfc1a74ba
38 changed files with 74 additions and 73 deletions
+5 -4
View File
@@ -35,7 +35,8 @@ class ConsumerTest extends PredisTestCase
->will($this->returnValue(false));
$client = new Client(null, array('profile' => $profile));
$monitor = new MonitorConsumer($client);
new MonitorConsumer($client);
}
/**
@@ -46,9 +47,9 @@ class ConsumerTest extends PredisTestCase
public function testMonitorConsumerDoesNotWorkOnClusters()
{
$cluster = $this->getMock('Predis\Connection\Aggregate\ClusterInterface');
$client = new Client($cluster);
$monitor = new MonitorConsumer($client);
new MonitorConsumer($client);
}
/**
@@ -69,7 +70,7 @@ class ConsumerTest extends PredisTestCase
->method('executeCommand')
->with($cmdMonitor);
$monitor = new MonitorConsumer($client);
new MonitorConsumer($client);
}
/**