1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-22 00:21:02 +01:00

Merge pull request #4659 from marc1706/ticket/15036

[ticket/15036] Unlink install_config during functional testing

* marc1706/ticket/15036:
  [ticket/15036] Unlink install_config during functional testing
This commit is contained in:
Tristan Darricau 2017-01-22 23:30:22 +01:00
commit cf6a4738b1
No known key found for this signature in database
GPG Key ID: 817043C2E29DB881

View File

@ -291,6 +291,13 @@ class phpbb_functional_test_case extends phpbb_test_case
}
}
$install_config_file = $phpbb_root_path . 'store/install_config.php';
if (file_exists($install_config_file))
{
unlink($install_config_file);
}
$container_builder = new \phpbb\di\container_builder($phpbb_root_path, $phpEx);
$container = $container_builder
->with_environment('installer')