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:
parent
95d82f6fde
commit
741c8d63fb
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue