mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00: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:
parent
115599e78d
commit
9c082999bb
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue