1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-16 13:52:03 +02:00

[ticket/security/235] Update search native tests

SECURITY-235
This commit is contained in:
Marc Alexander 2019-04-26 23:39:51 +02:00
parent da9910850a
commit 2353ad11f2
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -70,7 +70,7 @@ class phpbb_search_native_test extends phpbb_search_test_case
'ba*az',
'all',
true,
array('\'ba%az\''),
array(4),
array(),
array(),
),
@ -78,7 +78,7 @@ class phpbb_search_native_test extends phpbb_search_test_case
'ba*z',
'all',
true,
array('\'ba%z\''),
array(), // <= 3 chars after removing *
array(),
array(),
),
@ -86,7 +86,7 @@ class phpbb_search_native_test extends phpbb_search_test_case
'baa* baaz*',
'all',
true,
array('\'baa%\'', '\'baaz%\''),
array('\'baa%\'', 4),
array(),
array(),
),
@ -94,7 +94,7 @@ class phpbb_search_native_test extends phpbb_search_test_case
'ba*z baa*',
'all',
true,
array('\'ba%z\'', '\'baa%\''),
array('\'baa%\''), // baz is <= 3 chars, only baa* is left
array(),
array(),
),