diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-02-11 21:31:34 -0600 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-02-11 21:31:34 -0600 |
commit | 3a68bba2fbfe8416884ac5230876cc73c3ba30bd (patch) | |
tree | 66f8d7d9d6ffb42160c8737fd9618b2259ac511e /tests/extension/manager_test.php | |
parent | b398fa2050ab720d9a3ae2b809bb3cdf4f153dc6 (diff) | |
download | forums-3a68bba2fbfe8416884ac5230876cc73c3ba30bd.tar forums-3a68bba2fbfe8416884ac5230876cc73c3ba30bd.tar.gz forums-3a68bba2fbfe8416884ac5230876cc73c3ba30bd.tar.bz2 forums-3a68bba2fbfe8416884ac5230876cc73c3ba30bd.tar.xz forums-3a68bba2fbfe8416884ac5230876cc73c3ba30bd.zip |
[feature/migrations] Fix failing tests
PHPBB3-11318
Diffstat (limited to 'tests/extension/manager_test.php')
-rw-r--r-- | tests/extension/manager_test.php | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/tests/extension/manager_test.php b/tests/extension/manager_test.php index 5c0b419540..e31e27ef83 100644 --- a/tests/extension/manager_test.php +++ b/tests/extension/manager_test.php @@ -25,14 +25,22 @@ class phpbb_extension_manager_test extends phpbb_database_test_case { parent::setUp(); + $config = new phpbb_config(array()); + $db = $this->new_dbal(); + $db_tools = new phpbb_db_tools($db); + $phpbb_root_path = __DIR__ . './../../phpBB/'; + $php_ext = 'php'; + $table_prefix = 'phpbb_'; + $this->extension_manager = new phpbb_extension_manager( new phpbb_mock_container_builder(), - $this->new_dbal(), - new phpbb_config(array()), + $db, + $config, + new phpbb_db_migrator($config, $db, $db_tools, 'phpbb_migrations', $phpbb_root_path, $php_ext, $table_prefix, array()), 'phpbb_ext', dirname(__FILE__) . '/', - '.php', - new phpbb_mock_cache + '.' . $php_ext, + new phpbb_mock_cache() ); } |