[tests] Fix wrong method in mock.

This commit is contained in:
Daniele Alessandri
2016-05-16 15:38:29 +02:00
parent 17b717a8f5
commit 3328ad76be
+1 -1
View File
@@ -126,7 +126,7 @@ class FactoryTest extends PredisTestCase
public function testCreateConnectionWithoutInitializationCommands()
{
$profile = $this->getMock('Predis\Profile\ProfileInterface');
$profile->expects($this->never())->method('create');
$profile->expects($this->never())->method('createCommand');
$factory = new Factory($profile);
$parameters = new Parameters();