From 5fc3177395a6fb2981110fea4d39e422a8b318e3 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 5 Mar 2016 21:23:24 +0100 Subject: [ticket/14497] Add test for visiting installer PHPBB3-14497 --- tests/functional/visit_installer_test.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/functional/visit_installer_test.php diff --git a/tests/functional/visit_installer_test.php b/tests/functional/visit_installer_test.php new file mode 100644 index 0000000000..80336bd410 --- /dev/null +++ b/tests/functional/visit_installer_test.php @@ -0,0 +1,30 @@ + +* @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()); + } +} -- cgit v1.2.1