mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11608] Mark failed search test incomplete for native search
PHPBB3-11608
This commit is contained in:
parent
a3482bded4
commit
c31035d047
1 changed files with 4 additions and 0 deletions
|
@ -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'));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue