mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/11733] Add browse test for feed.php
PHPBB3-11733
This commit is contained in:
@@ -29,4 +29,11 @@ class phpbb_functional_browse_test extends phpbb_functional_test_case
|
||||
$crawler = self::request('GET', 'viewtopic.php?t=1');
|
||||
$this->assertGreaterThan(0, $crawler->filter('.postbody')->count());
|
||||
}
|
||||
|
||||
public function test_feed()
|
||||
{
|
||||
$crawler = self::request('GET', 'feed.php', array(), false);
|
||||
self::assert_response_xml();
|
||||
$this->assertGreaterThan(0, $crawler->filter('entry')->count());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user