mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11608] Check for word highlights in search results
Search tests check for highlighted words in search results PHPBB3-11608
This commit is contained in:
@@ -38,8 +38,9 @@ class phpbb_functional_search_test extends phpbb_functional_test_case
|
||||
|
||||
public function search_found()
|
||||
{
|
||||
$crawler = self::request('GET', 'search.php?keywords=phpbb3');
|
||||
$crawler = self::request('GET', 'search.php?keywords=phpbb3+installation');
|
||||
$this->assertGreaterThan(0, $crawler->filter('.postbody')->count());
|
||||
$this->assertEquals(3, $crawler->filter('.posthilit')->count());
|
||||
}
|
||||
|
||||
public function search_not_found()
|
||||
|
Reference in New Issue
Block a user