aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/migrator_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbal/migrator_test.php')
-rw-r--r--tests/dbal/migrator_test.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/dbal/migrator_test.php b/tests/dbal/migrator_test.php
index b447a81cda..89669b85ec 100644
--- a/tests/dbal/migrator_test.php
+++ b/tests/dbal/migrator_test.php
@@ -45,15 +45,6 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case
new phpbb_db_migration_tool_config($this->config),
);
- $this->extension_manager = new phpbb_extension_manager(
- new phpbb_mock_container_builder(),
- $this->db,
- $this->config,
- 'phpbb_ext',
- dirname(__FILE__) . '/../../phpBB/',
- '.php',
- null
- );
$this->migrator = new phpbb_db_migrator(
$this->config,
$this->db,
@@ -64,7 +55,16 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case
'phpbb_',
$tools
);
- $this->migrator->set_extension_manager($this->extension_manager);
+ $this->extension_manager = new phpbb_extension_manager(
+ new phpbb_mock_container_builder(),
+ $this->db,
+ $this->config,
+ $this->migrator,
+ 'phpbb_ext',
+ dirname(__FILE__) . '/../../phpBB/',
+ '.php',
+ null
+ );
}
public function test_update()