1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 04:30:29 +01:00

[ticket/14497] Do not check for doctype on index and use correct return

PHPBB3-14497
This commit is contained in:
Marc Alexander 2016-03-05 22:19:03 +01:00
parent 5fc3177395
commit 4e717c1725

View File

@ -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());