Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2021-04-28 20:07:15 +0300
committerMarcel Klehr <mklehr@gmx.net>2022-05-17 22:05:09 +0300
commitf755ee08689a9400e1e9b2bc15ae116ae7483d5c (patch)
treea311f6f207c311620bc9f9656817453e7f2a19cb /tests
parent4f55ba2a8895995649306911e3efa92904906836 (diff)
Files: Extend search to also cover tagsfeature/files-search-tags
fixes #326 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/Cache/SearchBuilderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Cache/SearchBuilderTest.php b/tests/lib/Files/Cache/SearchBuilderTest.php
index 82c4dbaa27f..5eb1a0252f0 100644
--- a/tests/lib/Files/Cache/SearchBuilderTest.php
+++ b/tests/lib/Files/Cache/SearchBuilderTest.php
@@ -79,7 +79,7 @@ class SearchBuilderTest extends TestCase {
$this->numericStorageId = 10000;
$this->builder->select(['fileid'])
- ->from('filecache')
+ ->from('filecache', 'file') // alias needed for QuerySearchHelper#getOperatorFieldAndValue
->where($this->builder->expr()->eq('storage', new Literal($this->numericStorageId)));
}