]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix double where in CustomProperiesBackendTest 36266/head
authorJoas Schilling <coding@schilljs.com>
Fri, 20 Jan 2023 09:44:50 +0000 (10:44 +0100)
committerJoas Schilling <coding@schilljs.com>
Fri, 20 Jan 2023 09:44:50 +0000 (10:44 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php

index 4cfa0d1884bf77e24824436455c80135c69ee94d..0faacb6a8ec3ef27e235dbf1cd4a655cf1dec7a6 100644 (file)
@@ -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 = [];