aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()));
}