mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-14 04:30:29 +01:00
[ticket/16549] Fix migrations_check_config_added_test
PHPBB3-16549
This commit is contained in:
parent
032d898ddb
commit
80ec1dc042
@ -36,6 +36,10 @@ class migrations_check_config_added_test extends phpbb_test_case
|
||||
$this->phpbb_root_path = $phpbb_root_path;
|
||||
$this->php_ext = $phpEx;
|
||||
|
||||
$tools = [
|
||||
new \phpbb\db\migration\tool\config($this->config),
|
||||
];
|
||||
|
||||
$this->container = new phpbb_mock_container_builder();
|
||||
|
||||
$this->migrator = new \phpbb\db\migrator(
|
||||
@ -48,7 +52,7 @@ class migrations_check_config_added_test extends phpbb_test_case
|
||||
$this->php_ext,
|
||||
$this->table_prefix,
|
||||
[],
|
||||
[],
|
||||
$tools,
|
||||
new \phpbb\db\migration\helper()
|
||||
);
|
||||
$this->container->set('migrator', $this->migrator);
|
||||
|
Loading…
x
Reference in New Issue
Block a user