mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/14497] Add test for visiting installer
PHPBB3-14497
This commit is contained in:
parent
293a42e7c5
commit
5fc3177395
1 changed files with 30 additions and 0 deletions
30
tests/functional/visit_installer_test.php
Normal file
30
tests/functional/visit_installer_test.php
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
<?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/');
|
||||||
|
$this->assertContains('installation system', $this->get_content());
|
||||||
|
|
||||||
|
self::request('GET', 'install/index.html');
|
||||||
|
$this->assertContains('installation system', $this->get_content());
|
||||||
|
|
||||||
|
self::request('GET', 'install/app.php');
|
||||||
|
$this->assertContains('installation system', $this->get_content());
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue