From b10074338c30c573ed71178a7998da01dedfb42f Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 18 Apr 2016 22:17:04 +0100 Subject: [PATCH] Fix tests --- tests/Composer/Test/ApplicationTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Composer/Test/ApplicationTest.php b/tests/Composer/Test/ApplicationTest.php index e7ab59c78..4e843bfa6 100644 --- a/tests/Composer/Test/ApplicationTest.php +++ b/tests/Composer/Test/ApplicationTest.php @@ -30,6 +30,9 @@ class ApplicationTest extends TestCase ->will($this->returnValue('list')); $index = 0; + $outputMock->expects($this->at($index++)) + ->method("writeError"); + if (extension_loaded('xdebug')) { $outputMock->expects($this->at($index++)) ->method("getVerbosity")