aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console
diff options
context:
space:
mode:
authorLEZY Thomas <thomas.gif.91@gmail.com>2014-05-29 18:25:27 +0200
committerLEZY Thomas <thomas.gif.91@gmail.com>2014-05-29 18:27:00 +0200
commit01dba249d789dd1548c4c1cdfb97630121ece69a (patch)
treee962b0baa71c8e2b9d4d23f01633fe8e43694547 /tests/console
parent43fbb84cc39385a237e101bf3c915bdd711113de (diff)
downloadforums-01dba249d789dd1548c4c1cdfb97630121ece69a.tar
forums-01dba249d789dd1548c4c1cdfb97630121ece69a.tar.gz
forums-01dba249d789dd1548c4c1cdfb97630121ece69a.tar.bz2
forums-01dba249d789dd1548c4c1cdfb97630121ece69a.tar.xz
forums-01dba249d789dd1548c4c1cdfb97630121ece69a.zip
[ticket/12597] Fix wrong global variable name
$pathEx changed to $phpEx PHPBB3-12597
Diffstat (limited to 'tests/console')
-rw-r--r--tests/console/cron/run_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/console/cron/run_test.php b/tests/console/cron/run_test.php
index 599d089a1f..8908c536c0 100644
--- a/tests/console/cron/run_test.php
+++ b/tests/console/cron/run_test.php
@@ -34,7 +34,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
public function setUp()
{
- global $db, $config, $phpbb_root_path, $pathEx;
+ global $db, $config, $phpbb_root_path, $phpEx;
$db = $this->db = $this->new_dbal();
$config = $this->config = new \phpbb\config\config(array('cron_lock' => '0'));
@@ -48,7 +48,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
$tasks = array(
$this->task,
);
- $this->cron_manager = new \phpbb\cron\manager($tasks, $phpbb_root_path, $pathEx);
+ $this->cron_manager = new \phpbb\cron\manager($tasks, $phpbb_root_path, $phbEx);
$this->assertSame('0', $config['cron_lock']);
}
@@ -90,7 +90,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
{
$tasks = array(
);
- $this->cron_manager = new \phpbb\cron\manager($tasks, $phpbb_root_path, $pathEx);
+ $this->cron_manager = new \phpbb\cron\manager($tasks, $phpbb_root_path, $phpEx);
$command_tester = $this->get_command_tester();
$exit_status = $command_tester->execute(array('command' => $this->command_name));
@@ -103,7 +103,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
{
$tasks = array(
);
- $this->cron_manager = new \phpbb\cron\manager($tasks, $phpbb_root_path, $pathEx);
+ $this->cron_manager = new \phpbb\cron\manager($tasks, $phpbb_root_path, $phpEx);
$command_tester = $this->get_command_tester();
$exit_status = $command_tester->execute(array('command' => $this->command_name, '--verbose' => true));