mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/12684] Refactor a test
PHPBB3-12684
This commit is contained in:
parent
5917a8e72e
commit
00c2efca60
1 changed files with 9 additions and 1 deletions
|
@ -143,7 +143,15 @@ class phpbb_console_command_user_add_test extends phpbb_database_test_case
|
|||
public function get_command_tester()
|
||||
{
|
||||
$application = new Application();
|
||||
$application->add(new add($this->user, $this->db, $this->config, $this->language, $this->passwords_manager, $this->phpbb_root_path, $this->php_ext));
|
||||
$application->add(new add(
|
||||
$this->user,
|
||||
$this->db,
|
||||
$this->config,
|
||||
$this->language,
|
||||
$this->passwords_manager,
|
||||
$this->phpbb_root_path,
|
||||
$this->php_ext
|
||||
));
|
||||
|
||||
$command = $application->find('user:add');
|
||||
$this->command_name = $command->getName();
|
||||
|
|
Loading…
Add table
Reference in a new issue