1
0
Fork 0

fix test for Symfony 3.2

pull/6435/head
Remi Collet 2017-05-22 08:16:45 +02:00
parent 95d82f6fde
commit 741c8d63fb
1 changed files with 4 additions and 1 deletions

View File

@ -218,8 +218,11 @@ class ConsoleIOTest extends TestCase
->will($this->returnValue($helperMock)) ->will($this->returnValue($helperMock))
; ;
$validator = function ($value) {
return true;
};
$consoleIO = new ConsoleIO($inputMock, $outputMock, $setMock); $consoleIO = new ConsoleIO($inputMock, $outputMock, $setMock);
$consoleIO->askAndValidate('Why?', 'validator', 10, 'default'); $consoleIO->askAndValidate('Why?', $validator, 10, 'default');
} }
public function testSelect() public function testSelect()