summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-01-20 10:44:50 +0100
committerblizzz (Rebase PR Action) <blizzz@users.noreply.github.com>2023-02-07 17:58:40 +0000
commit24d758631888b88b6cfd7cd924804581164d5497 (patch)
tree34f33dfeb809260e53d1726ff61bc906ba4c7ba4
parentdc737047ce1229a076b2e3e9ef7d1f96f74d06e6 (diff)
downloadnextcloud-server-24d758631888b88b6cfd7cd924804581164d5497.tar.gz
nextcloud-server-24d758631888b88b6cfd7cd924804581164d5497.zip
Fix double where in CustomProperiesBackendTest
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php
index 2e7939aa614..a6bbeba16a3 100644
--- a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php
+++ b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php
@@ -108,7 +108,7 @@ class CustomPropertiesBackendTest extends TestCase {
$query->select('propertyname', 'propertyvalue')
->from('properties')
->where($query->expr()->eq('userid', $query->createNamedParameter($user)))
- ->where($query->expr()->eq('propertypath', $query->createNamedParameter($this->formatPath($path))));
+ ->andWhere($query->expr()->eq('propertypath', $query->createNamedParameter($this->formatPath($path))));
$result = $query->execute();
$data = [];