aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-12-06 07:12:46 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-12-06 07:12:46 +0100
commitd7425b4998d68b51ecee543d2b77d9d5ed17cbd7 (patch)
tree3937f65af7751266e601eacf70c85fba98431f45 /tests
parent186384e514d85a9603be7178a8d82d55fd4925aa (diff)
parent1a4739aed90c88eb49ccbe3ad58af17632f026ec (diff)
downloadforums-d7425b4998d68b51ecee543d2b77d9d5ed17cbd7.tar
forums-d7425b4998d68b51ecee543d2b77d9d5ed17cbd7.tar.gz
forums-d7425b4998d68b51ecee543d2b77d9d5ed17cbd7.tar.bz2
forums-d7425b4998d68b51ecee543d2b77d9d5ed17cbd7.tar.xz
forums-d7425b4998d68b51ecee543d2b77d9d5ed17cbd7.zip
Merge pull request #5756 from mrgoldy/ticket/16239
[ticket/16239] Remove deprecated phpbb\db\tools
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(