mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 02:36:38 +02:00
[ticket/11467] Add user object to extension manager for tests
PHPBB3-11467
This commit is contained in:
@@ -101,6 +101,7 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||
$phpbb_root_path = __DIR__ . './../../phpBB/';
|
||||
$php_ext = 'php';
|
||||
$table_prefix = 'phpbb_';
|
||||
$user = new \phpbb\user();
|
||||
|
||||
$migrator = new \phpbb\db\migrator(
|
||||
$config,
|
||||
@@ -121,6 +122,7 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||
$db,
|
||||
$config,
|
||||
new \phpbb\filesystem(),
|
||||
$user,
|
||||
'phpbb_ext',
|
||||
dirname(__FILE__) . '/',
|
||||
$php_ext,
|
||||
|
Reference in New Issue
Block a user