aboutsummaryrefslogtreecommitdiffstats
path: root/tests/search/native_test.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-11-08 10:19:15 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2012-11-08 10:19:15 -0500
commited37141f512f857311b64bb283943634eba84525 (patch)
tree0af12998e7861187f1cf289c2d7705bcd2f00c43 /tests/search/native_test.php
parent18a922c036f196e934fec1a1daab7cfaa98001ce (diff)
downloadforums-ed37141f512f857311b64bb283943634eba84525.tar
forums-ed37141f512f857311b64bb283943634eba84525.tar.gz
forums-ed37141f512f857311b64bb283943634eba84525.tar.bz2
forums-ed37141f512f857311b64bb283943634eba84525.tar.xz
forums-ed37141f512f857311b64bb283943634eba84525.zip
[ticket/11174] Clarify why that is the way it is.
PHPBB3-11174
Diffstat (limited to 'tests/search/native_test.php')
-rw-r--r--tests/search/native_test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/search/native_test.php b/tests/search/native_test.php
index bcde11faf1..15b4644498 100644
--- a/tests/search/native_test.php
+++ b/tests/search/native_test.php
@@ -107,6 +107,7 @@ class phpbb_search_native_test extends phpbb_database_test_case
{
$rv = $this->search->split_keywords($keywords, $terms);
$this->assertEquals($ok, $rv);
+ // http://stackoverflow.com/questions/3838288/phpunit-assert-two-arrays-are-equal-but-order-of-elements-not-important
$this->assertEmpty(array_diff($must_contain, $this->search->get_must_contain_ids()));
$this->assertEmpty(array_diff($must_not_contain, $this->search->get_must_not_contain_ids()));
}