fix test for Symfony 3.2
parent
95d82f6fde
commit
741c8d63fb
|
@ -218,8 +218,11 @@ class ConsoleIOTest extends TestCase
|
|||
->will($this->returnValue($helperMock))
|
||||
;
|
||||
|
||||
$validator = function ($value) {
|
||||
return true;
|
||||
};
|
||||
$consoleIO = new ConsoleIO($inputMock, $outputMock, $setMock);
|
||||
$consoleIO->askAndValidate('Why?', 'validator', 10, 'default');
|
||||
$consoleIO->askAndValidate('Why?', $validator, 10, 'default');
|
||||
}
|
||||
|
||||
public function testSelect()
|
||||
|
|
Loading…
Reference in New Issue