From ab96942d9214bea1a463d59f9c44ec1c7ba4f224 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 4cfa0d1884bf7..0faacb6a8ec3e 100644 --- a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php +++ b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php @@ -107,7 +107,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 = [];