mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-18 06:38:43 +01:00
d7cb104fc1
PHPBB3-16549
31 lines
904 B
PHP
31 lines
904 B
PHP
<?php
|
|
/**
|
|
*
|
|
* This file is part of the phpBB Forum Software package.
|
|
*
|
|
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
|
* @license GNU General Public License, version 2 (GPL-2.0)
|
|
*
|
|
* For full copyright and license information, please see
|
|
* the docs/CREDITS.txt file.
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* @group functional
|
|
*/
|
|
class phpbb_functional_visit_installer_test extends phpbb_functional_test_case
|
|
{
|
|
public function test_visit_installer()
|
|
{
|
|
self::request('GET', 'install/', [], false);
|
|
$this->assertStringContainsString('<meta http-equiv="refresh" content="0; url=./app.php" />', $this->get_content());
|
|
|
|
self::request('GET', 'install/index.html', [], false);
|
|
$this->assertStringContainsString('<meta http-equiv="refresh" content="0; url=./app.php" />', $this->get_content());
|
|
|
|
self::request('GET', 'install/app.php');
|
|
$this->assertStringContainsString('installation system', $this->get_content());
|
|
}
|
|
}
|