[ticket/11608] Mark postgres search not found test as incomplete

PHPBB3-11608
This commit is contained in:
Dhruv 2013-09-01 19:23:57 +05:30
parent 5135ae2a24
commit 1cd888e0ee

View file

@ -23,9 +23,9 @@ abstract class phpbb_functional_search_base_test extends phpbb_functional_test_c
{ {
$crawler = self::request('GET', 'search.php?keywords=' . $keywords); $crawler = self::request('GET', 'search.php?keywords=' . $keywords);
$this->assertEquals(0, $crawler->filter('.postbody')->count()); $this->assertEquals(0, $crawler->filter('.postbody')->count());
if ($this->search_backend == 'phpbb_search_fulltext_native') if ($this->search_backend == 'phpbb_search_fulltext_native' || $this->search_backend == 'phpbb_search_fulltext_postgres')
{ {
$this->markTestIncomplete('Native search when fails doesn\'t show the search query'); $this->markTestIncomplete('Native and Postgres search when fails doesn\'t show the search query');
} }
$split_keywords_string = str_replace(array('+', '-'), ' ', $keywords); $split_keywords_string = str_replace(array('+', '-'), ' ', $keywords);
$this->assertEquals($split_keywords_string, $crawler->filter('#keywords')->attr('value')); $this->assertEquals($split_keywords_string, $crawler->filter('#keywords')->attr('value'));