1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[task/functional] Increase code coverage for functional tests

PHPBB3-10758
This commit is contained in:
David King
2012-04-23 17:16:16 -04:00
parent cdf7ff1797
commit 8cf0b79a47
4 changed files with 159 additions and 1 deletions

View File

@@ -23,4 +23,10 @@ class phpbb_functional_browse_test extends phpbb_functional_test_case
$crawler = $this->request('GET', 'viewforum.php?f=2');
$this->assertGreaterThan(0, $crawler->filter('.topiclist')->count());
}
public function test_viewtopic()
{
$crawler = $this->request('GET', 'viewtopic.php?t=1');
$this->assertGreaterThan(0, $crawler->filter('.postbody')->count());
}
}