aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension/metadata_manager_test.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-02-13 21:12:50 -0600
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-02-13 21:41:52 -0600
commit193a3beb8f75e17b09a0e66d2815bc2bf8d4dce4 (patch)
tree4903a30888d4a33a6b38dbfa818d8aa0a8647333 /tests/extension/metadata_manager_test.php
parent3a68bba2fbfe8416884ac5230876cc73c3ba30bd (diff)
downloadforums-193a3beb8f75e17b09a0e66d2815bc2bf8d4dce4.tar
forums-193a3beb8f75e17b09a0e66d2815bc2bf8d4dce4.tar.gz
forums-193a3beb8f75e17b09a0e66d2815bc2bf8d4dce4.tar.bz2
forums-193a3beb8f75e17b09a0e66d2815bc2bf8d4dce4.tar.xz
forums-193a3beb8f75e17b09a0e66d2815bc2bf8d4dce4.zip
[feature/migrations] Fix failing tests (again)
PHPBB3-11318
Diffstat (limited to 'tests/extension/metadata_manager_test.php')
-rw-r--r--tests/extension/metadata_manager_test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/extension/metadata_manager_test.php b/tests/extension/metadata_manager_test.php
index 7a04229a9c..cdea8d5258 100644
--- a/tests/extension/metadata_manager_test.php
+++ b/tests/extension/metadata_manager_test.php
@@ -34,9 +34,11 @@ class metadata_manager_test extends phpbb_database_test_case
'version' => '3.1.0',
));
$this->db = $this->new_dbal();
+ $this->db_tools = new phpbb_db_tools($this->db);
$this->phpbb_root_path = dirname(__FILE__) . '/';
$this->phpEx = '.php';
$this->user = new phpbb_user();
+ $this->table_prefix = 'phpbb_';
$this->template = new phpbb_template(
$this->phpbb_root_path,
@@ -51,6 +53,7 @@ class metadata_manager_test extends phpbb_database_test_case
new phpbb_mock_container_builder(),
$this->db,
$this->config,
+ new phpbb_db_migrator($this->config, $this->db, $this->db_tools, 'phpbb_migrations', $this->phpbb_root_path, $this->php_ext, $this->table_prefix, array()),
'phpbb_ext',
$this->phpbb_root_path,
$this->phpEx,