소스 검색

Updated tests for SVN driver.

Phansys 11 년 전
부모
커밋
57dd70a185
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/Composer/Test/Repository/Vcs/SvnDriverTest.php

+ 2 - 2
tests/Composer/Test/Repository/Vcs/SvnDriverTest.php

@@ -23,7 +23,7 @@ class SvnDriverTest extends \PHPUnit_Framework_TestCase
     public function testWrongCredentialsInUrl()
     {
         $console = $this->getMock('Composer\IO\IOInterface');
-        $console->expects($this->once())
+        $console->expects($this->exactly(6))
             ->method('isInteractive')
             ->will($this->returnValue(true));
 
@@ -35,7 +35,7 @@ class SvnDriverTest extends \PHPUnit_Framework_TestCase
         $process->expects($this->at(1))
             ->method('execute')
             ->will($this->returnValue(1));
-        $process->expects($this->once())
+        $process->expects($this->exactly(7))
             ->method('getErrorOutput')
             ->will($this->returnValue($output));
         $process->expects($this->at(2))