aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEtienne Baroux <barouxe@phelma.grenoble-inp.fr>2014-06-04 21:56:55 +0200
committerEtienne Baroux <barouxe@phelma.grenoble-inp.fr>2014-06-04 21:56:55 +0200
commit442e12828b827239806e84dcd77641cfc5daca57 (patch)
treeebc3c5e8703a799aafa4827be911dc40c5b51213 /tests
parent7c22d653e92af46375a6547be7e9b2527bc3d385 (diff)
downloadforums-442e12828b827239806e84dcd77641cfc5daca57.tar
forums-442e12828b827239806e84dcd77641cfc5daca57.tar.gz
forums-442e12828b827239806e84dcd77641cfc5daca57.tar.bz2
forums-442e12828b827239806e84dcd77641cfc5daca57.tar.xz
forums-442e12828b827239806e84dcd77641cfc5daca57.zip
[ticket/12602] Fix spaces issues.
PHPBB3-12602
Diffstat (limited to 'tests')
-rw-r--r--tests/console/cron/cron_list_test.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/console/cron/cron_list_test.php b/tests/console/cron/cron_list_test.php
index 32b7c792e8..ad74f17875 100644
--- a/tests/console/cron/cron_list_test.php
+++ b/tests/console/cron/cron_list_test.php
@@ -38,25 +38,25 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
public function test_no_task()
{
- $this->initiate_test(0,0);
+ $this->initiate_test(0, 0);
$this->assertContains('NO_TASK', $this->command_tester->getDisplay());
}
public function test_only_ready()
{
- $this->initiate_test(2,0);
+ $this->initiate_test(2, 0);
$this->assertContains('TASKS_READY command1 command2', preg_replace('/\s+/', ' ', trim($this->command_tester->getDisplay())));
}
public function test_only_not_ready()
{
- $this->initiate_test(0,2);
+ $this->initiate_test(0, 2);
$this->assertContains('TASKS_NOT_READY command1 command2', preg_replace('/\s+/', ' ', trim($this->command_tester->getDisplay())));
}
public function test_both_ready()
{
- $this->initiate_test(2,2);
+ $this->initiate_test(2, 2);
$this->assertSame('TASKS_READY command1 command2 TASKS_NOT_READY command3 command4', preg_replace('/\s+/', ' ', trim($this->command_tester->getDisplay())));
}
@@ -82,7 +82,7 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
return new CommandTester($command);
}
- public function initiate_test ($number_ready, $number_not_ready)
+ public function initiate_test($number_ready, $number_not_ready)
{
$tasks = array();