summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2023-02-07 18:32:01 +0100
committerGitHub <noreply@github.com>2023-02-07 18:32:01 +0100
commit28980adc2951db7778f8492b5b368c4757404027 (patch)
tree198c834b03c13790e54396f8e6b0df859a39a860
parent080de5058ba03cb3d1458f297066f21cfe8a64b2 (diff)
parentbcf572076b9f9fdd5272a7ac2736eeef4d09b4a2 (diff)
downloadnextcloud-server-28980adc2951db7778f8492b5b368c4757404027.tar.gz
nextcloud-server-28980adc2951db7778f8492b5b368c4757404027.zip
Merge pull request #36294 from nextcloud/backport/36266/stable25
[stable25] 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 = [];