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

@@ -60,12 +60,14 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case
$container = new phpbb_mock_container_builder();
$container->set('migrator', $migrator);
$user = new \phpbb\user();
$this->extension_manager = new \phpbb\extension\manager(
$container,
$this->db,
$this->config,
new phpbb\filesystem(),
$user,
'phpbb_ext',
dirname(__FILE__) . '/../../phpBB/',
'php',