1
0
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:
rxu
2019-12-29 02:12:36 +07:00
parent 82e61f501a
commit dcab076221
15 changed files with 41 additions and 18 deletions

View File

@@ -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(
);

View File

@@ -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)