aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console/user/add_test.php
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2016-03-21 13:54:41 -0700
committerMatt Friedman <maf675@gmail.com>2016-03-21 13:54:41 -0700
commit00c2efca605b4dbd323221a3dab2110c81ae3dcd (patch)
tree695a4d1243565e533737155ec054fcc89b0e0ceb /tests/console/user/add_test.php
parent5917a8e72ef274b2c7c419abe5349ace9d814d8b (diff)
downloadforums-00c2efca605b4dbd323221a3dab2110c81ae3dcd.tar
forums-00c2efca605b4dbd323221a3dab2110c81ae3dcd.tar.gz
forums-00c2efca605b4dbd323221a3dab2110c81ae3dcd.tar.bz2
forums-00c2efca605b4dbd323221a3dab2110c81ae3dcd.tar.xz
forums-00c2efca605b4dbd323221a3dab2110c81ae3dcd.zip
[ticket/12684] Refactor a test
PHPBB3-12684
Diffstat (limited to 'tests/console/user/add_test.php')
-rw-r--r--tests/console/user/add_test.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/console/user/add_test.php b/tests/console/user/add_test.php
index de146ef6ec..00134c18cd 100644
--- a/tests/console/user/add_test.php
+++ b/tests/console/user/add_test.php
@@ -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();