From 80ec1dc0420a56a41afcab967950fceb730662c6 Mon Sep 17 00:00:00 2001 From: rxu Date: Mon, 20 Jul 2020 22:58:19 +0700 Subject: [PATCH] [ticket/16549] Fix migrations_check_config_added_test PHPBB3-16549 --- tests/migrations/migrations_check_config_added_test.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/migrations/migrations_check_config_added_test.php b/tests/migrations/migrations_check_config_added_test.php index e10cc5b771..4d7c0e1e3a 100644 --- a/tests/migrations/migrations_check_config_added_test.php +++ b/tests/migrations/migrations_check_config_added_test.php @@ -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);