mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11467] Add user object to extension manager for tests
PHPBB3-11467
This commit is contained in:
@@ -203,12 +203,14 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
);
|
||||
$container = new phpbb_mock_container_builder();
|
||||
$container->set('migrator', $migrator);
|
||||
$user = new \phpbb\user();
|
||||
|
||||
$extension_manager = new \phpbb\extension\manager(
|
||||
$container,
|
||||
$db,
|
||||
$config,
|
||||
new phpbb\filesystem(),
|
||||
$user,
|
||||
self::$config['table_prefix'] . 'ext',
|
||||
dirname(__FILE__) . '/',
|
||||
$phpEx,
|
||||
|
Reference in New Issue
Block a user