mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-18 23:51:49 +02:00
[ticket/11608] Mark failed search test incomplete for native search
PHPBB3-11608
This commit is contained in:
@@ -23,6 +23,10 @@ abstract class phpbb_functional_search_base_test extends phpbb_functional_test_c
|
||||
{
|
||||
$crawler = self::request('GET', 'search.php?keywords=' . $keywords);
|
||||
$this->assertEquals(0, $crawler->filter('.postbody')->count());
|
||||
if ($this->search_backend == 'phpbb_search_fulltext_native')
|
||||
{
|
||||
$this->markTestIncomplete('Native search when fails doesn\'t show the search query');
|
||||
}
|
||||
$split_keywords_string = str_replace(array('+', '-'), ' ', $keywords);
|
||||
$this->assertEquals($split_keywords_string, $crawler->filter('#keywords')->attr('value'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user