diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-01-21 10:28:08 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-01-21 10:28:08 +0100 |
commit | 4b2a5a41a70a6c5745df8459d3c3de37af5249d2 (patch) | |
tree | 3d0fdd26a6a2659002b7924382bc2950f9d37c25 /tests/test_framework | |
parent | aa9da98e8a0d3a784bfe84156ef4322daf38b356 (diff) | |
download | forums-4b2a5a41a70a6c5745df8459d3c3de37af5249d2.tar forums-4b2a5a41a70a6c5745df8459d3c3de37af5249d2.tar.gz forums-4b2a5a41a70a6c5745df8459d3c3de37af5249d2.tar.bz2 forums-4b2a5a41a70a6c5745df8459d3c3de37af5249d2.tar.xz forums-4b2a5a41a70a6c5745df8459d3c3de37af5249d2.zip |
[ticket/15036] Unlink install_config during functional testing
PHPBB3-15036
Diffstat (limited to 'tests/test_framework')
-rw-r--r-- | tests/test_framework/phpbb_functional_test_case.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php index e678bfbaef..eb56049515 100644 --- a/tests/test_framework/phpbb_functional_test_case.php +++ b/tests/test_framework/phpbb_functional_test_case.php @@ -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') |