diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-03-12 13:20:04 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-05-31 08:49:19 +0300 |
commit | d6d8e9215c69a9e8d4bfa2035c657b0a037f3a2f (patch) | |
tree | 942254503672d6ab3e0b6c8fca0bd4053db352b9 /apps/dav/tests/unit/CalDAV/CalDavBackendTest.php | |
parent | 9e596dd0cf455dc1639141c695f89c7d936f4c0c (diff) |
Add a trashbin for calendars and calendar objects
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/tests/unit/CalDAV/CalDavBackendTest.php')
-rw-r--r-- | apps/dav/tests/unit/CalDAV/CalDavBackendTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php index 2ac333b1526..03abd554e2b 100644 --- a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php @@ -83,7 +83,7 @@ class CalDavBackendTest extends AbstractCalDavBackend { ->with(self::callback(function ($event) { return $event instanceof CalendarDeletedEvent; })); - $this->backend->deleteCalendar($calendars[0]['id']); + $this->backend->deleteCalendar($calendars[0]['id'], true); $calendars = $this->backend->getCalendarsForUser(self::UNIT_TEST_USER); self::assertEmpty($calendars); } @@ -212,7 +212,7 @@ EOD; ->with(self::callback(function ($event) { return $event instanceof CalendarDeletedEvent; })); - $this->backend->deleteCalendar($calendars[0]['id']); + $this->backend->deleteCalendar($calendars[0]['id'], true); $calendars = $this->backend->getCalendarsForUser(self::UNIT_TEST_USER); self::assertEmpty($calendars); } |