mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 02:36:38 +02:00
[ticket/16790] Remove useless command parameter
PHPBB3-16790
This commit is contained in:
@@ -29,7 +29,6 @@ class phpbb_console_user_reclean_test extends phpbb_console_user_base
|
||||
));
|
||||
|
||||
$command = $application->find('user:reclean');
|
||||
$this->command_name = $command->getName();
|
||||
|
||||
return new CommandTester($command);
|
||||
}
|
||||
@@ -38,7 +37,7 @@ class phpbb_console_user_reclean_test extends phpbb_console_user_base
|
||||
{
|
||||
$command_tester = $this->get_command_tester();
|
||||
|
||||
$exit_status = $command_tester->execute(array('command' => $this->command_name));
|
||||
$exit_status = $command_tester->execute([]);
|
||||
$this->assertSame(0, $exit_status);
|
||||
|
||||
$result = $this->db->sql_query('SELECT user_id FROM ' . USERS_TABLE . " WHERE username_clean = 'test unclean'");
|
||||
|
Reference in New Issue
Block a user