Rename Predis\Connection\ConnectionFactory.

This commit is contained in:
Daniele Alessandri
2013-12-15 10:09:08 +01:00
parent 278f89924c
commit 2a7607f128
9 changed files with 45 additions and 49 deletions
+3 -3
View File
@@ -27,7 +27,7 @@ class OptionsTest extends PredisTestCase
{
$options = new Options();
$this->assertInstanceOf('Predis\Connection\ConnectionFactoryInterface', $options->connections);
$this->assertInstanceOf('Predis\Connection\FactoryInterface', $options->connections);
$this->assertInstanceOf('Predis\Profile\ProfileInterface', $options->profile);
$this->assertInstanceOf('Predis\Connection\ClusterConnectionInterface', $options->cluster);
$this->assertInstanceOf('Predis\Connection\ReplicationConnectionInterface', $options->replication);
@@ -44,7 +44,7 @@ class OptionsTest extends PredisTestCase
'exceptions' => false,
'profile' => '2.0',
'prefix' => 'prefix:',
'connections' => $this->getMock('Predis\Connection\ConnectionFactoryInterface'),
'connections' => $this->getMock('Predis\Connection\FactoryInterface'),
'cluster' => $this->getMock('Predis\Connection\ClusterConnectionInterface'),
'replication' => $this->getMock('Predis\Connection\ReplicationConnectionInterface'),
));
@@ -52,7 +52,7 @@ class OptionsTest extends PredisTestCase
$this->assertInternalType('bool', $options->exceptions);
$this->assertInstanceOf('Predis\Profile\ProfileInterface', $options->profile);
$this->assertInstanceOf('Predis\Command\Processor\CommandProcessorInterface', $options->prefix);
$this->assertInstanceOf('Predis\Connection\ConnectionFactoryInterface', $options->connections);
$this->assertInstanceOf('Predis\Connection\FactoryInterface', $options->connections);
$this->assertInstanceOf('Predis\Connection\ClusterConnectionInterface', $options->cluster);
$this->assertInstanceOf('Predis\Connection\ReplicationConnectionInterface', $options->replication);
}