From: Joas Schilling Date: Fri, 20 Jan 2023 09:44:50 +0000 (+0100) Subject: Fix double where in CustomProperiesBackendTest X-Git-Tag: v26.0.0beta1~26^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ab96942d9214bea1a463d59f9c44ec1c7ba4f224;p=nextcloud-server.git Fix double where in CustomProperiesBackendTest Signed-off-by: Joas Schilling --- diff --git a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php index 4cfa0d1884b..0faacb6a8ec 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 = [];