aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension/metadata_manager_test.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2015-01-14 11:37:10 +0100
committerTristan Darricau <github@nicofuma.fr>2015-01-14 12:04:30 +0100
commit4df125625c7df93a5c3727a3cfd9517df4ba0ba6 (patch)
tree8eb8a19509f43a6727deee1d04b2000d955c261d /tests/extension/metadata_manager_test.php
parentc99ed6447371fc548442f8b44312954c43bfbcb6 (diff)
downloadforums-4df125625c7df93a5c3727a3cfd9517df4ba0ba6.tar
forums-4df125625c7df93a5c3727a3cfd9517df4ba0ba6.tar.gz
forums-4df125625c7df93a5c3727a3cfd9517df4ba0ba6.tar.bz2
forums-4df125625c7df93a5c3727a3cfd9517df4ba0ba6.tar.xz
forums-4df125625c7df93a5c3727a3cfd9517df4ba0ba6.zip
[ticket/13489] Fix tests
PHPBB3-13489
Diffstat (limited to 'tests/extension/metadata_manager_test.php')
-rw-r--r--tests/extension/metadata_manager_test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/extension/metadata_manager_test.php b/tests/extension/metadata_manager_test.php
index fab1d3af3a..2a746d3792 100644
--- a/tests/extension/metadata_manager_test.php
+++ b/tests/extension/metadata_manager_test.php
@@ -62,7 +62,10 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case
new \phpbb\template\context()
);
+ $container = new phpbb_mock_container_builder();
+
$this->migrator = new \phpbb\db\migrator(
+ $container,
$this->config,
$this->db,
$this->db_tools,
@@ -73,7 +76,6 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case
array(),
new \phpbb\db\migration\helper()
);
- $container = new phpbb_mock_container_builder();
$container->set('migrator', $this->migrator);
$this->extension_manager = new \phpbb\extension\manager(