[ticket/12056] Fix failure due to "Creating default object from empty value".

PHPBB3-12056
This commit is contained in:
Andreas Fischer 2013-12-04 13:22:47 +01:00
parent 1977a10efb
commit e41cd384f5

View file

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