mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16933] Fix test
PHPBB3-16933
This commit is contained in:
parent
d6a591cde3
commit
4a78202f96
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
|
||||||
{
|
{
|
||||||
$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());
|
||||||
$split_keywords_string = str_replace(array('+', '-'), ' ', $keywords);
|
$split_keywords_string = str_replace('+', ' ', $keywords);
|
||||||
$this->assertEquals($split_keywords_string, $crawler->filter('#keywords')->attr('value'));
|
$this->assertEquals($split_keywords_string, $crawler->filter('#keywords')->attr('value'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue