mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
[ticket/10748] Replace direct creations of tools();
PHPBB3-10748
This commit is contained in:
@@ -230,7 +230,8 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
|
||||
$config = new \phpbb\config\config(array());
|
||||
$db = $this->get_db();
|
||||
$db_tools = new \phpbb\db\tools\tools($db);
|
||||
$factory = new \phpbb\db\tools\factory();
|
||||
$db_tools = $factory->get($db);
|
||||
|
||||
$container = new phpbb_mock_container_builder();
|
||||
$migrator = new \phpbb\db\migrator(
|
||||
|
Reference in New Issue
Block a user