summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-02-08 09:01:48 +0100
committerGitHub <noreply@github.com>2023-02-08 09:01:48 +0100
commitb8509e195018f88e81e04c44f8ed4f0917c38fa7 (patch)
treefdc20aea31aeb2c71306421fc4470df818a50af3
parent7ac7ad2c13e44719f264217e64d4d061592ae009 (diff)
parent24d758631888b88b6cfd7cd924804581164d5497 (diff)
downloadnextcloud-server-b8509e195018f88e81e04c44f8ed4f0917c38fa7.tar.gz
nextcloud-server-b8509e195018f88e81e04c44f8ed4f0917c38fa7.zip
Merge pull request #36295 from nextcloud/backport/36266/stable24
[stable24] Fix double where in CustomProperiesBackendTest
-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 = [];