mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 05:55:32 +02:00
[ticket/13844] Add a functional test that browses the help pages
PHPBB3-13844
This commit is contained in:
@ -34,6 +34,18 @@ class phpbb_functional_browse_test extends phpbb_functional_test_case
|
|||||||
$this->assertGreaterThan(0, $crawler->filter('.postbody')->count());
|
$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()
|
public function test_feed()
|
||||||
{
|
{
|
||||||
$crawler = self::request('GET', 'feed.php', array(), false);
|
$crawler = self::request('GET', 'feed.php', array(), false);
|
||||||
|
Reference in New Issue
Block a user