[ticket/15043] New get_context displays more text

PHPBB3-15043
This commit is contained in:
Rubén Calvo 2018-09-26 14:17:53 +02:00 committed by Ruben Calvo
parent 2f3183796c
commit 13f7a8f82f
No known key found for this signature in database

View file

@ -165,7 +165,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
foreach (['', 'a', 't', 'f', 'i', 's'] as $sort_key)
{
$this->assert_search_found('phpbb3+installation', 1, 3, $sort_key);
$this->assert_search_found('phpbb3+installation', 1, 4, $sort_key);
$this->assert_search_found('foosubject+barsearch', 1, 2, $sort_key);
$this->assert_search_found('barsearch-testing', 1, 2, $sort_key); // test hyphen ignored
$this->assert_search_found('barsearch+-+testing', 1, 2, $sort_key); // test hyphen wrapped with space ignored