aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php')
-rw-r--r--apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
index 7813a7942fe..de6218bf5f5 100644
--- a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
+++ b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
@@ -783,23 +783,4 @@ class IMipPluginTest extends TestCase {
$this->plugin->schedule($message);
$this->assertEquals('1.1', $message->getScheduleStatus());
}
-
- public function testImipDisabledForEvent(): void {
- // construct iTip message with event and attendees
- $calendar = new VCalendar();
- $calendar->add('VEVENT', ['UID' => 'uid-1234']);
- $event = $calendar->VEVENT;
- $event->add('ORGANIZER', 'mailto:gandalf@wiz.ard');
- $event->add('ATTENDEE', 'mailto:' . 'frodo@hobb.it', ['RSVP' => 'TRUE', 'CN' => 'Frodo']);
- $event->add('X-NC-DISABLE-SCHEDULING', 'true');
- $message = new Message();
- $message->method = 'REQUEST';
- $message->message = $calendar;
- $message->sender = 'mailto:gandalf@wiz.ard';
- $message->senderName = 'Mr. Wizard';
- $message->recipient = 'mailto:' . 'frodo@hobb.it';
-
- $this->plugin->schedule($message);
- $this->assertEquals('1.0;We got the message, but iMip messages are disabled for this event', $message->scheduleStatus);
- }
}