aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-01-23 11:37:18 +0100
committerGitHub <noreply@github.com>2023-01-23 11:37:18 +0100
commit13846ac2a8e96512b802111ca6c0555c7e795b69 (patch)
treed8b3d9d202b835ba0fd1b3a3eeecdd43c9962093 /apps
parent279c7d18ef8d56a5bd5232657bf3054f834523c9 (diff)
parentab96942d9214bea1a463d59f9c44ec1c7ba4f224 (diff)
downloadnextcloud-server-13846ac2a8e96512b802111ca6c0555c7e795b69.tar.gz
nextcloud-server-13846ac2a8e96512b802111ca6c0555c7e795b69.zip
Merge pull request #36266 from nextcloud/bugfix/noid/fix-double-where-in-custom-property-test
Fix double where in CustomProperiesBackendTest
Diffstat (limited to 'apps')
-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 6358c066e9d..2c8a55d3da1 100644
--- a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php
+++ b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php
@@ -107,7 +107,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 = [];