aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-03-05 22:19:03 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-03-05 22:19:03 +0100
commit4e717c1725474265a694bd300b024030769dbd85 (patch)
tree2e9d13a16d6fd2f504becc9a85917332dacefafd
parent5fc3177395a6fb2981110fea4d39e422a8b318e3 (diff)
downloadforums-4e717c1725474265a694bd300b024030769dbd85.tar
forums-4e717c1725474265a694bd300b024030769dbd85.tar.gz
forums-4e717c1725474265a694bd300b024030769dbd85.tar.bz2
forums-4e717c1725474265a694bd300b024030769dbd85.tar.xz
forums-4e717c1725474265a694bd300b024030769dbd85.zip
[ticket/14497] Do not check for doctype on index and use correct return
PHPBB3-14497
-rw-r--r--tests/functional/visit_installer_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/visit_installer_test.php b/tests/functional/visit_installer_test.php
index 80336bd410..b4a75c0b51 100644
--- a/tests/functional/visit_installer_test.php
+++ b/tests/functional/visit_installer_test.php
@@ -18,11 +18,11 @@ class phpbb_functional_visit_installer_test extends phpbb_functional_test_case
{
public function test_visit_installer()
{
- self::request('GET', 'install/');
- $this->assertContains('installation system', $this->get_content());
+ self::request('GET', 'install/', [], false);
+ $this->assertContains('<meta http-equiv="refresh" content="0; url=./app.php" />', $this->get_content());
- self::request('GET', 'install/index.html');
- $this->assertContains('installation system', $this->get_content());
+ self::request('GET', 'install/index.html', [], false);
+ $this->assertContains('<meta http-equiv="refresh" content="0; url=./app.php" />', $this->get_content());
self::request('GET', 'install/app.php');
$this->assertContains('installation system', $this->get_content());