1
0
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:
rxu 2021-12-11 19:46:47 +07:00
parent d6a591cde3
commit 4a78202f96
No known key found for this signature in database
GPG Key ID: 955F0567380E586A

View File

@ -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'));
}