1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 15:17:16 +01:00

[ticket/13844] Add a functional test that browses the help pages

PHPBB3-13844
This commit is contained in:
Joas Schilling 2015-05-16 23:08:42 +02:00
parent 07231e7943
commit f6c246f889

View File

@ -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);