diff options
author | Robin Appelman <robin@icewind.nl> | 2017-02-21 18:18:41 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-03-01 14:06:40 +0100 |
commit | 709f64d39699331f197dd2d93b9d62980a2ba145 (patch) | |
tree | b8f9a724eb73425e4bfe89c477f9c9fdb0864665 /tests/lib | |
parent | e6a896f2f076507c33a02962035b29afb24dad05 (diff) | |
download | nextcloud-server-709f64d39699331f197dd2d93b9d62980a2ba145.tar.gz nextcloud-server-709f64d39699331f197dd2d93b9d62980a2ba145.zip |
add tests for filesearchbackend
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Files/Cache/QuerySearchHelperTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/Files/Cache/QuerySearchHelperTest.php b/tests/lib/Files/Cache/QuerySearchHelperTest.php index beb0981d2df..f458ef039e1 100644 --- a/tests/lib/Files/Cache/QuerySearchHelperTest.php +++ b/tests/lib/Files/Cache/QuerySearchHelperTest.php @@ -196,6 +196,9 @@ class QuerySearchHelperTest extends TestCase { $results = $this->search($operator); + sort($fileIds); + sort($results); + $this->assertEquals($fileIds, $results); } } |