aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormrgoldy <gijsmartens1@gmail.com>2019-11-30 15:28:01 +0100
committermrgoldy <gijsmartens1@gmail.com>2019-11-30 15:28:01 +0100
commit1a4739aed90c88eb49ccbe3ad58af17632f026ec (patch)
tree6a386a344c6efce47758286a027ec5745430faa3 /tests
parent[ticket/16239] Remove deprecated phpbb\db\tools (diff)
downloadphpbb-1a4739aed90c88eb49ccbe3ad58af17632f026ec.tar.gz
phpbb-1a4739aed90c88eb49ccbe3ad58af17632f026ec.tar.bz2
phpbb-1a4739aed90c88eb49ccbe3ad58af17632f026ec.zip
[ticket/16239] Update DB tools in UI test case
PHPBB3-16239
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 fcac3594d0..243db39d69 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(