From 57dd70a1850d1a1c9491ca3b9d95cbeb80614c69 Mon Sep 17 00:00:00 2001 From: Phansys Date: Fri, 14 Jun 2013 21:16:24 -0300 Subject: [PATCH] Updated tests for SVN driver. --- tests/Composer/Test/Repository/Vcs/SvnDriverTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Composer/Test/Repository/Vcs/SvnDriverTest.php b/tests/Composer/Test/Repository/Vcs/SvnDriverTest.php index 2a4ab00c3..d9bd53321 100644 --- a/tests/Composer/Test/Repository/Vcs/SvnDriverTest.php +++ b/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))