浏览代码

Fix tests

Jordi Boggiano 9 年之前
父节点
当前提交
e745b37935
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tests/Composer/Test/IO/ConsoleIOTest.php

+ 3 - 0
tests/Composer/Test/IO/ConsoleIOTest.php

@@ -229,6 +229,9 @@ class ConsoleIOTest extends TestCase
         $dialogMock = $this->getMock('Symfony\Component\Console\Helper\DialogHelper');
         $helperMock = $this->getMock('Symfony\Component\Console\Helper\HelperSet');
 
+        $inputMock->expects($this->once())
+            ->method('isInteractive')
+            ->will($this->returnValue(true));
         $dialogMock->expects($this->once())
             ->method('select')
             ->with($this->isInstanceOf('Symfony\Component\Console\Output\OutputInterface'),