summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-08-19 10:04:32 +0200
committerJoas Schilling <coding@schilljs.com>2022-08-19 10:50:45 +0200
commiteab5189abbd3ff711068eb144f20ef2167047e27 (patch)
tree4ef7e59cdf6cc5c62b9727e981a2850817eed9c8 /apps/dav/tests
parent1463f935f05e7b3a520c5ec178b3e2a3e68c670f (diff)
downloadnextcloud-server-eab5189abbd3ff711068eb144f20ef2167047e27.tar.gz
nextcloud-server-eab5189abbd3ff711068eb144f20ef2167047e27.zip
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 <coding@schilljs.com>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/CardDAV/Activity/BackendTest.php4
1 files changed, 2 insertions, 2 deletions
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')