Browse Source

Fix tests

Jordi Boggiano 9 years ago
parent
commit
b10074338c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/Composer/Test/ApplicationTest.php

+ 3 - 0
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")