1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11467] Add user object to extension manager for tests

PHPBB3-11467
This commit is contained in:
n-aleha
2014-05-12 02:31:52 +03:00
parent 56959a2f83
commit 7f00c38c50
7 changed files with 17 additions and 9 deletions

View File

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