summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-01-20 10:44:50 +0100
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-01-23 10:47:27 +0000
commitbcf572076b9f9fdd5272a7ac2736eeef4d09b4a2 (patch)
treec33e9921fa9eb7567af52199cb52d849870d2e92
parenta3898a1843797041d8c8b9f08d7e239124a0dd59 (diff)
downloadnextcloud-server-bcf572076b9f9fdd5272a7ac2736eeef4d09b4a2.tar.gz
nextcloud-server-bcf572076b9f9fdd5272a7ac2736eeef4d09b4a2.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 = [];