diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-05-31 13:08:30 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-05-31 13:08:30 +0200 |
commit | 4033154302cf2c224b46cebe98ed154247740607 (patch) | |
tree | d4906abdedd2b688649f1a9d0573bfca74951704 /apps | |
parent | b7e7d80173f081bbe4d47e2b6f8dc7561cc27f6d (diff) | |
download | nextcloud-server-4033154302cf2c224b46cebe98ed154247740607.tar.gz nextcloud-server-4033154302cf2c224b46cebe98ed154247740607.zip |
fixup! fix(caldav): Ignore invalid events for reminder generation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php b/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php index 7af00e4463d..5ff9dc36cf0 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php @@ -373,7 +373,7 @@ EOD; 'component' => 'vevent', ]; - $this->backend->expects($this->exactly(2)) + $this->backend->expects($this->never()) ->method('insertReminder') ->withConsecutive( [1337, 42, 'wej2z68l9h', false, null, false, '5c70531aab15c92b52518ae10a2f78a4', 'de919af7429d3b5c11e8b9d289b411a6', 'EMAIL', true, 1465429500, false], @@ -381,11 +381,6 @@ EOD; ) ->willReturn(1); - $this->timeFactory->expects($this->once()) - ->method('getDateTime') - ->with() - ->willReturn(DateTime::createFromFormat(DateTime::ATOM, '2016-06-08T00:00:00+00:00')); - $this->reminderService->onCalendarObjectCreate($objectData); } |