aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-05-01 14:09:08 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-05-01 14:09:08 -0500
commit60e32728393d4258f92f7893f8275889278a995f (patch)
treeb6c3094d0af17db29c30511d90428224ddfde6c5 /tests/dbal
parent7ed21cc6f2b7eee305d0c7c00821ef1ce680b77e (diff)
downloadforums-60e32728393d4258f92f7893f8275889278a995f.tar
forums-60e32728393d4258f92f7893f8275889278a995f.tar.gz
forums-60e32728393d4258f92f7893f8275889278a995f.tar.bz2
forums-60e32728393d4258f92f7893f8275889278a995f.tar.xz
forums-60e32728393d4258f92f7893f8275889278a995f.zip
[ticket/11415] Remove migrator dependency from extension manager
PHPBB3-11415
Diffstat (limited to 'tests/dbal')
-rw-r--r--tests/dbal/migrator_test.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/dbal/migrator_test.php b/tests/dbal/migrator_test.php
index 6390d6a715..5fc05f2119 100644
--- a/tests/dbal/migrator_test.php
+++ b/tests/dbal/migrator_test.php
@@ -55,8 +55,12 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case
'phpbb_',
$tools
);
+
+ $container = new phpbb_mock_container_builder();
+ $container->set('migrator', $migrator);
+
$this->extension_manager = new phpbb_extension_manager(
- new phpbb_mock_container_builder(),
+ $container,
$this->db,
$this->config,
$this->migrator,