aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2016-03-27 11:25:19 -0700
committerMatt Friedman <maf675@gmail.com>2016-03-31 15:07:59 -0700
commitafb69d7cd280df65b22b1a338d3023aebf2e3f0c (patch)
tree00a05d14f1112c7eefa1dc21cb5e62cb047f78c6 /tests/console
parent4b789c041844396f3a5e6a51142c45c13d2edd59 (diff)
downloadforums-afb69d7cd280df65b22b1a338d3023aebf2e3f0c.tar
forums-afb69d7cd280df65b22b1a338d3023aebf2e3f0c.tar.gz
forums-afb69d7cd280df65b22b1a338d3023aebf2e3f0c.tar.bz2
forums-afb69d7cd280df65b22b1a338d3023aebf2e3f0c.tar.xz
forums-afb69d7cd280df65b22b1a338d3023aebf2e3f0c.zip
[ticket/14561] Add a progress bar to reclean command
PHPBB3-14561
Diffstat (limited to 'tests/console')
-rw-r--r--tests/console/user/reclean_test.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/console/user/reclean_test.php b/tests/console/user/reclean_test.php
index 2b28484084..1bf0b8ef5a 100644
--- a/tests/console/user/reclean_test.php
+++ b/tests/console/user/reclean_test.php
@@ -38,11 +38,8 @@ class phpbb_console_user_reclean_test extends phpbb_console_user_base
{
$command_tester = $this->get_command_tester();
- $command_tester->execute(array(
- 'command' => $this->command_name,
- ));
-
- $this->assertContains('CLI_USER_RECLEAN_SUCCESS', $command_tester->getDisplay());
+ $exit_status = $command_tester->execute(array('command' => $this->command_name));
+ $this->assertSame(0, $exit_status);
$result = $this->db->sql_query('SELECT user_id FROM ' . USERS_TABLE . " WHERE username_clean = 'test unclean'");
$row = $this->db->sql_fetchrow($result);