aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-03-05 21:23:24 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-03-05 21:23:24 +0100
commit5fc3177395a6fb2981110fea4d39e422a8b318e3 (patch)
tree0743adcd9241321abb7ba379abf8e78213af254b
parent293a42e7c552346b1b9b13b6f4e6e050ce219408 (diff)
downloadforums-5fc3177395a6fb2981110fea4d39e422a8b318e3.tar
forums-5fc3177395a6fb2981110fea4d39e422a8b318e3.tar.gz
forums-5fc3177395a6fb2981110fea4d39e422a8b318e3.tar.bz2
forums-5fc3177395a6fb2981110fea4d39e422a8b318e3.tar.xz
forums-5fc3177395a6fb2981110fea4d39e422a8b318e3.zip
[ticket/14497] Add test for visiting installer
PHPBB3-14497
-rw-r--r--tests/functional/visit_installer_test.php30
1 files changed, 30 insertions, 0 deletions
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 @@
+<?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());
+ }
+}