mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13844] Add a functional test that browses the help pages
PHPBB3-13844
This commit is contained in:
parent
07231e7943
commit
f6c246f889
1 changed files with 12 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue