aboutsummaryrefslogtreecommitdiffstats
path: root/tests/search/mysql_test.php
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-11-12 16:25:44 +0100
committerOleg Pudeyev <oleg@bsdpower.com>2012-11-27 08:49:06 -0500
commitdb2297827d92f09e52cd2dd6f6b4613e0c210fe7 (patch)
tree11d6519da04d4bfc2c76b16971e97215b50951e5 /tests/search/mysql_test.php
parent9d597dc2ee152f448139dc708663f9a81e5cb209 (diff)
downloadforums-db2297827d92f09e52cd2dd6f6b4613e0c210fe7.tar
forums-db2297827d92f09e52cd2dd6f6b4613e0c210fe7.tar.gz
forums-db2297827d92f09e52cd2dd6f6b4613e0c210fe7.tar.bz2
forums-db2297827d92f09e52cd2dd6f6b4613e0c210fe7.tar.xz
forums-db2297827d92f09e52cd2dd6f6b4613e0c210fe7.zip
[ticket/11174] negation queries do not return false
negation queries are split into words too and returns false in mysql search backend PHPBB3-11174
Diffstat (limited to 'tests/search/mysql_test.php')
-rw-r--r--tests/search/mysql_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/search/mysql_test.php b/tests/search/mysql_test.php
index 44043da40d..56cce24c09 100644
--- a/tests/search/mysql_test.php
+++ b/tests/search/mysql_test.php
@@ -121,14 +121,14 @@ class phpbb_search_mysql_test extends phpbb_database_test_case
array(
'-fooo',
'all',
- false,
- null,
+ true,
+ array('-fooo'),
array(),
),
array(
'-fooo -baar',
'all',
- false,
+ true,
array('-fooo', '-baar'),
array(),
),