aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-12-06 07:12:50 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-12-06 07:12:50 +0100
commit1a50719e4c4342910c9a2e78fc5f96f7a0d8bcc1 (patch)
tree21350daace2a3f2f3a2ae4e5f17cb827e67c061b /tests
parentMerge branch '3.3.x' (diff)
parentMerge pull request #5756 from mrgoldy/ticket/16239 (diff)
downloadphpbb-1a50719e4c4342910c9a2e78fc5f96f7a0d8bcc1.tar.gz
phpbb-1a50719e4c4342910c9a2e78fc5f96f7a0d8bcc1.tar.bz2
phpbb-1a50719e4c4342910c9a2e78fc5f96f7a0d8bcc1.zip
Merge branch '3.3.x'
Diffstat (limited to 'tests')
-rw-r--r--tests/test_framework/phpbb_ui_test_case.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_ui_test_case.php b/tests/test_framework/phpbb_ui_test_case.php
index ccb50155fb..61db3da3e9 100644
--- a/tests/test_framework/phpbb_ui_test_case.php
+++ b/tests/test_framework/phpbb_ui_test_case.php
@@ -473,7 +473,8 @@ class phpbb_ui_test_case extends phpbb_test_case
$config = new \phpbb\config\config(array());
$db = $this->get_db();
- $db_tools = new \phpbb\db\tools($db);
+ $factory = new \phpbb\db\tools\factory();
+ $db_tools = $factory->get($this->db);
$container = new phpbb_mock_container_builder();
$migrator = new \phpbb\db\migrator(