Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| phpbb_functional_visit_installer_test | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| test_visit_installer | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * |
| 4 | * This file is part of the phpBB Forum Software package. |
| 5 | * |
| 6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
| 8 | * |
| 9 | * For full copyright and license information, please see |
| 10 | * the docs/CREDITS.txt file. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | /** |
| 15 | * @group functional |
| 16 | */ |
| 17 | class phpbb_functional_visit_installer_test extends phpbb_functional_test_case |
| 18 | { |
| 19 | public function test_visit_installer() |
| 20 | { |
| 21 | self::request('GET', 'install/', [], false); |
| 22 | $this->assertStringContainsString('<meta http-equiv="refresh" content="0; url=./app.php" />', $this->get_content()); |
| 23 | |
| 24 | self::request('GET', 'install/index.html', [], false); |
| 25 | $this->assertStringContainsString('<meta http-equiv="refresh" content="0; url=./app.php" />', $this->get_content()); |
| 26 | |
| 27 | self::request('GET', 'install/app.php'); |
| 28 | $this->assertStringContainsString('installation system', $this->get_content()); |
| 29 | } |
| 30 | } |