diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-05-16 23:08:42 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-05-16 23:08:42 +0200 |
commit | f6c246f8899edb480c7347cb43e2cbdc96c80d17 (patch) | |
tree | b5bc190f1a3c1e0b3aeb954e818a7314d21bb665 | |
parent | 07231e7943e9ffdba08393be56510e682ab7a7e5 (diff) | |
download | forums-f6c246f8899edb480c7347cb43e2cbdc96c80d17.tar forums-f6c246f8899edb480c7347cb43e2cbdc96c80d17.tar.gz forums-f6c246f8899edb480c7347cb43e2cbdc96c80d17.tar.bz2 forums-f6c246f8899edb480c7347cb43e2cbdc96c80d17.tar.xz forums-f6c246f8899edb480c7347cb43e2cbdc96c80d17.zip |
[ticket/13844] Add a functional test that browses the help pages
PHPBB3-13844
-rw-r--r-- | tests/functional/browse_test.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/functional/browse_test.php b/tests/functional/browse_test.php index b9e74a280f..4f28879687 100644 --- a/tests/functional/browse_test.php +++ b/tests/functional/browse_test.php @@ -34,6 +34,18 @@ class phpbb_functional_browse_test extends phpbb_functional_test_case $this->assertGreaterThan(0, $crawler->filter('.postbody')->count()); } + public function test_help_faq() + { + $crawler = self::request('GET', 'app.php/help/faq'); + $this->assertGreaterThan(0, $crawler->filter('h2.faq-title')->count()); + } + + public function test_help_bbcode() + { + $crawler = self::request('GET', 'app.php/help/bbcode'); + $this->assertGreaterThan(0, $crawler->filter('h2.faq-title')->count()); + } + public function test_feed() { $crawler = self::request('GET', 'feed.php', array(), false); |