Jordi Boggiano 9 роки тому
батько
коміт
b10074338c
1 змінених файлів з 3 додано та 0 видалено
  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'));
             ->will($this->returnValue('list'));
 
 
         $index = 0;
         $index = 0;
+        $outputMock->expects($this->at($index++))
+            ->method("writeError");
+
         if (extension_loaded('xdebug')) {
         if (extension_loaded('xdebug')) {
             $outputMock->expects($this->at($index++))
             $outputMock->expects($this->at($index++))
                 ->method("getVerbosity")
                 ->method("getVerbosity")