Explorar o código

[tests] Fix wrong method in mock.

Daniele Alessandri %!s(int64=9) %!d(string=hai) anos
pai
achega
a933a13087
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/Predis/Connection/FactoryTest.php

+ 1 - 1
tests/Predis/Connection/FactoryTest.php

@@ -269,7 +269,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();