mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:01:48 +02:00
[ticket/16549] Fix tests
PHPBB3-16549
This commit is contained in:
@@ -66,6 +66,8 @@ class manager_test extends phpbb_database_test_case
|
||||
$language = new \phpbb\language\language(new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx));
|
||||
$collection = new \phpbb\di\service_collection($container);
|
||||
$user = new \phpbb\user($language, '\phpbb\datetime');
|
||||
$user->data['user_id'] = 2;
|
||||
$user->ip = '';
|
||||
|
||||
$this->log = new \phpbb\log\log($this->db, $user, $auth, $dispatcher, $phpbb_root_path, 'adm/', $phpEx, $table_prefix . 'log');
|
||||
|
||||
|
Reference in New Issue
Block a user