1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12684] Fix tests

PHPBB3-12684
This commit is contained in:
Matt Friedman
2016-02-29 14:23:32 -08:00
parent 637b02690d
commit fe31060fca
2 changed files with 15 additions and 11 deletions

View File

@@ -125,7 +125,6 @@ class add extends \phpbb\console\command\command
$question->setValidator(function ($value) use ($self, $helper, $input, $output) {
$question = new Question($self->ask_user('CONFIRM_PASSWORD'));
$question->setHidden(true);
$question->setHiddenFallback(false);
$confirm = $helper->ask($input, $output, $question);
if ($confirm != $value)
@@ -135,7 +134,6 @@ class add extends \phpbb\console\command\command
return $value;
});
$question->setHidden(true);
$question->setHiddenFallback(false);
$question->setMaxAttempts(5);
$data['new_password'] = $helper->ask($input, $output, $question);
@@ -223,7 +221,7 @@ class add extends \phpbb\console\command\command
if ($error)
{
throw new runtime_exception(implode("\n", array_map(array($this->user, 'lang'), $error)));
throw new runtime_exception(implode("\n", array_map(array($this->language, 'lang'), $error)));
}
}