mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16276] Further fix PHP nightly tests
PHPBB3-16276
This commit is contained in:
@@ -122,6 +122,8 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
|
||||
|
||||
public function test_no_task()
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
$tasks = array(
|
||||
);
|
||||
|
||||
@@ -163,6 +165,8 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
|
||||
|
||||
public function test_no_task_verbose()
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
$tasks = array(
|
||||
);
|
||||
|
||||
|
@@ -112,7 +112,8 @@ abstract class phpbb_console_user_base extends phpbb_database_test_case
|
||||
$row = $this->db->sql_fetchrow($result);
|
||||
$this->db->sql_freeresult($result);
|
||||
|
||||
return $row['user_id'];
|
||||
$user_id = $row ? $row['user_id'] : null;
|
||||
return $user_id;
|
||||
}
|
||||
|
||||
public function getInputStream($input)
|
||||
|
Reference in New Issue
Block a user