mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fixup! fix(caldav): Ignore invalid events for reminder generation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
b7e7d80173
commit
4033154302
1 changed files with 1 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue