aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_framework/phpbb_mink_test_case.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_mink_test_case.php b/tests/test_framework/phpbb_mink_test_case.php
index 93b7beea99..89042e46c1 100644
--- a/tests/test_framework/phpbb_mink_test_case.php
+++ b/tests/test_framework/phpbb_mink_test_case.php
@@ -138,7 +138,6 @@ abstract class phpbb_mink_test_case extends phpbb_test_case
// install/index.php?mode=install&sub=config_file
$page = self::click_submit();
- self::assertContains('The configuration file has been written', $page->findById('main')->getText());
// Installer has created a config.php file, we will overwrite it with a
// config file of our own in order to get the DEBUG constants defined
@@ -149,6 +148,12 @@ abstract class phpbb_mink_test_case extends phpbb_test_case
self::markTestSkipped("Could not write $config_file file.");
}
+ if (strpos($page->findById('main')->getText(), 'The configuration file has been written') === false)
+ {
+ $page = self::click_submit('dldone');
+ }
+ self::assertContains('The configuration file has been written', $page->findById('main')->getText());
+
// install/index.php?mode=install&sub=advanced
$page = self::click_submit();
self::assertContains('The settings on this page are only necessary to set if you know that you require something different from the default.', $page->findById('main')->getText());