1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

fix test for Symfony 3.2

This commit is contained in:
Remi Collet 2017-05-22 08:16:45 +02:00
parent 95d82f6fde
commit 741c8d63fb

View file

@ -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()