From bcf572076b9f9fdd5272a7ac2736eeef4d09b4a2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 20 Jan 2023 10:44:50 +0100 Subject: [PATCH] Fix double where in CustomProperiesBackendTest Signed-off-by: Joas Schilling --- apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php index 2e7939aa6144f..a6bbeba16a3a1 100644 --- a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php +++ b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php @@ -108,7 +108,7 @@ protected function getProps(string $user, string $path) { $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 = [];