aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension/manager_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extension/manager_test.php')
-rw-r--r--tests/extension/manager_test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/extension/manager_test.php b/tests/extension/manager_test.php
index ab93edd939..c737d33f95 100644
--- a/tests/extension/manager_test.php
+++ b/tests/extension/manager_test.php
@@ -156,7 +156,10 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
$table_prefix = 'phpbb_';
$user = new \phpbb\user('\phpbb\user');
+ $container = new phpbb_mock_container_builder();
+
$migrator = new \phpbb\db\migrator(
+ $container,
$config,
$db,
$db_tools,
@@ -167,7 +170,6 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
array(),
new \phpbb\db\migration\helper()
);
- $container = new phpbb_mock_container_builder();
$container->set('migrator', $migrator);
return new \phpbb\extension\manager(