1
0
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:
rxu 2020-07-20 22:58:19 +07:00
parent 032d898ddb
commit 80ec1dc042
No known key found for this signature in database
GPG Key ID: 955F0567380E586A

View File

@ -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);