1
0
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:
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

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