From 01dba249d789dd1548c4c1cdfb97630121ece69a Mon Sep 17 00:00:00 2001 From: LEZY Thomas Date: Thu, 29 May 2014 18:25:27 +0200 Subject: [PATCH] [ticket/12597] Fix wrong global variable name $pathEx changed to $phpEx PHPBB3-12597 --- tests/console/cron/run_test.php | 8 ++++---- 1 file 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));