From eab5189abbd3ff711068eb144f20ef2167047e27 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 19 Aug 2022 10:04:32 +0200 Subject: Fix carddav activities The settings where combined last minute but at the same time the activities where not adjusted to map an existing setting so the filter was not possible to even limit it to the types that the activities had. Signed-off-by: Joas Schilling --- apps/dav/tests/unit/CardDAV/Activity/BackendTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/dav/tests') diff --git a/apps/dav/tests/unit/CardDAV/Activity/BackendTest.php b/apps/dav/tests/unit/CardDAV/Activity/BackendTest.php index dbc2c3550e7..4f3459233aa 100644 --- a/apps/dav/tests/unit/CardDAV/Activity/BackendTest.php +++ b/apps/dav/tests/unit/CardDAV/Activity/BackendTest.php @@ -226,7 +226,7 @@ class BackendTest extends TestCase { ->willReturnSelf(); $event->expects($this->once()) ->method('setType') - ->with('addressbook') + ->with('contacts') ->willReturnSelf(); $event->expects($this->once()) ->method('setAuthor') @@ -396,7 +396,7 @@ class BackendTest extends TestCase { ->willReturnSelf(); $event->expects($this->once()) ->method('setType') - ->with('card') + ->with('contacts') ->willReturnSelf(); $event->expects($this->once()) ->method('setAuthor') -- cgit v1.2.3