aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2017-01-22 23:30:22 +0100
committerTristan Darricau <github@nicofuma.fr>2017-01-22 23:30:22 +0100
commitcf6a4738b1d0a69d3e00614e4624458ee6d9a359 (patch)
tree1c7f725c9ea6f955bfe4a293117fe9258e005d03
parent9475703114b4c71429c49340d63fb2dac0ee588a (diff)
parent4b2a5a41a70a6c5745df8459d3c3de37af5249d2 (diff)
downloadforums-cf6a4738b1d0a69d3e00614e4624458ee6d9a359.tar
forums-cf6a4738b1d0a69d3e00614e4624458ee6d9a359.tar.gz
forums-cf6a4738b1d0a69d3e00614e4624458ee6d9a359.tar.bz2
forums-cf6a4738b1d0a69d3e00614e4624458ee6d9a359.tar.xz
forums-cf6a4738b1d0a69d3e00614e4624458ee6d9a359.zip
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
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php7
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')