From e745b379358752d0dac70ec1a7e1148be570704f Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 29 Feb 2016 15:50:04 +0000 Subject: [PATCH] Fix tests --- tests/Composer/Test/IO/ConsoleIOTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Composer/Test/IO/ConsoleIOTest.php b/tests/Composer/Test/IO/ConsoleIOTest.php index 4ca424ea9..9d11105c2 100644 --- a/tests/Composer/Test/IO/ConsoleIOTest.php +++ b/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'),