mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[ticket/13489] Fix service configuration
PHPBB3-13489
This commit is contained in:
@@ -227,7 +227,9 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
$db = $this->get_db();
|
||||
$db_tools = new \phpbb\db\tools($db);
|
||||
|
||||
$container = new phpbb_mock_container_builder();
|
||||
$migrator = new \phpbb\db\migrator(
|
||||
$container,
|
||||
$config,
|
||||
$db,
|
||||
$db_tools,
|
||||
@@ -238,8 +240,8 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
array(),
|
||||
new \phpbb\db\migration\helper()
|
||||
);
|
||||
$container = new phpbb_mock_container_builder();
|
||||
$container->set('migrator', $migrator);
|
||||
$container->set('dispatcher', new phpbb_mock_event_dispatcher());
|
||||
$user = new \phpbb\user('\phpbb\datetime');
|
||||
|
||||
$extension_manager = new \phpbb\extension\manager(
|
||||
|
Reference in New Issue
Block a user