[ticket/16239] Update DB tools in UI test case

PHPBB3-16239
This commit is contained in:
mrgoldy 2019-11-30 15:28:01 +01:00
parent 670dbaba1b
commit 1a4739aed9

View file

@ -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(