소스 검색

[tests] Fix wrong method in mock.

Daniele Alessandri 9 년 전
부모
커밋
a933a13087
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();