mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16052] Fix issues caused by merges
PHPBB3-16052
This commit is contained in:
@@ -20,6 +20,7 @@ abstract class phpbb_console_user_base extends phpbb_database_test_case
|
||||
protected $log;
|
||||
protected $passwords_manager;
|
||||
protected $command_name;
|
||||
/** @var Symfony\Component\Console\Helper\QuestionHelper */
|
||||
protected $question;
|
||||
protected $user_loader;
|
||||
protected $phpbb_root_path;
|
||||
|
@@ -45,7 +45,7 @@ class phpbb_console_user_delete_test extends phpbb_console_user_base
|
||||
|
||||
$this->assertEquals(3, $this->get_user_id('Test'));
|
||||
|
||||
$this->question->setInputStream($this->getInputStream("yes\n"));
|
||||
$command_tester->setInputs(['yes', '']);
|
||||
|
||||
$command_tester->execute(array(
|
||||
'command' => $this->command_name,
|
||||
@@ -63,7 +63,7 @@ class phpbb_console_user_delete_test extends phpbb_console_user_base
|
||||
|
||||
$this->assertNull($this->get_user_id('Foo'));
|
||||
|
||||
$this->question->setInputStream($this->getInputStream("yes\n"));
|
||||
$command_tester->setInputs(['yes', '']);
|
||||
|
||||
$command_tester->execute(array(
|
||||
'command' => $this->command_name,
|
||||
@@ -80,7 +80,7 @@ class phpbb_console_user_delete_test extends phpbb_console_user_base
|
||||
|
||||
$this->assertEquals(3, $this->get_user_id('Test'));
|
||||
|
||||
$this->question->setInputStream($this->getInputStream("no\n"));
|
||||
$command_tester->setInputs(['no', '']);
|
||||
|
||||
$command_tester->execute(array(
|
||||
'command' => $this->command_name,
|
||||
|
Reference in New Issue
Block a user