1
0
Fork 0

Updated tests for SVN driver.

pull/2008/head
Phansys 2013-06-14 21:16:24 -03:00
parent 465d1fdd44
commit 57dd70a185
1 changed files with 2 additions and 2 deletions

View File

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