mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/12056] Fix failure due to "Creating default object from empty value".
PHPBB3-12056
This commit is contained in:
parent
1977a10efb
commit
e41cd384f5
1 changed files with 2 additions and 1 deletions
|
@ -22,8 +22,9 @@ class phpbb_functions_obtain_online_test extends phpbb_database_test_case
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
global $config, $db;
|
global $config, $db, $user;
|
||||||
|
|
||||||
|
$user = new StdClass;
|
||||||
$db = $this->db = $this->new_dbal();
|
$db = $this->db = $this->new_dbal();
|
||||||
$config = array(
|
$config = array(
|
||||||
'load_online_time' => 5,
|
'load_online_time' => 5,
|
||||||
|
|
Loading…
Add table
Reference in a new issue