mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-22 08:30:26 +01:00
[ticket/16933] Fix test
PHPBB3-16933
This commit is contained in:
parent
d6a591cde3
commit
4a78202f96
@ -27,7 +27,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
|
||||
{
|
||||
$crawler = self::request('GET', 'search.php?keywords=' . $keywords);
|
||||
$this->assertEquals(0, $crawler->filter('.postbody')->count());
|
||||
$split_keywords_string = str_replace(array('+', '-'), ' ', $keywords);
|
||||
$split_keywords_string = str_replace('+', ' ', $keywords);
|
||||
$this->assertEquals($split_keywords_string, $crawler->filter('#keywords')->attr('value'));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user