Merge pull request #36266 from nextcloud/bugfix/noid/fix-double-where-in-custom-property-test

Fix double where in CustomProperiesBackendTest
This commit is contained in:
Joas Schilling 2023-01-23 11:37:18 +01:00 committed by GitHub
commit 13846ac2a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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 = [];