mirror of
https://github.com/predis/predis.git
synced 2026-10-08 21:06:44 +00:00
More random fixes after inspection.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user