aboutsummaryrefslogtreecommitdiffstats
path: root/tests/migrator/schema_generator_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/migrator/schema_generator_test.php')
-rw-r--r--tests/migrator/schema_generator_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/migrator/schema_generator_test.php b/tests/migrator/schema_generator_test.php
index 1e3b489426..40a8343e22 100644
--- a/tests/migrator/schema_generator_test.php
+++ b/tests/migrator/schema_generator_test.php
@@ -30,7 +30,8 @@ class schema_generator_test extends phpbb_test_case
$this->config = new \phpbb\config\config(array());
$this->db = new \phpbb\db\driver\sqlite();
- $this->db_tools = new \phpbb\db\tools\tools($this->db);
+ $factory = new \phpbb\db\tools\factory();
+ $this->db_tools = $factory->get($this->db);
$this->table_prefix = 'phpbb_';
}