1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-12 12:46:38 +02:00

[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 dd4c982792
commit 7365764476

View File

@ -146,7 +146,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
foreach (['', 'a', 't', 'f', 'i', 's'] as $sort_key) 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('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 ignored
$this->assert_search_found('barsearch+-+testing', 1, 2, $sort_key); // test hyphen wrapped with space ignored $this->assert_search_found('barsearch+-+testing', 1, 2, $sort_key); // test hyphen wrapped with space ignored