22 'principaluri' =>
'principals/user1',
30 'calendardata' =>
'BEGIN:VCALENDAR
33UID:20120418T172519CEST-3510gh1hVw
34DTSTAMP:20120418T152519Z
35DTSTART;VALUE=DATE:20120330
36DTEND;VALUE=DATE:20120531
37EXDATE;TZID=Europe/Berlin:20120330T000000
38RRULE:FREQ=YEARLY;INTERVAL=1
44ATTENDEE:MAILTO:xxx@domain.de
45DESCRIPTION:Dies ist eine Kalender Erinnerung
46SUMMARY:Kalender Alarm Erinnerung
47TRIGGER;VALUE=DATE-TIME:20120329T060000Z
56 function testIssue211() {
59 'REQUEST_METHOD' =>
'REPORT',
60 'HTTP_CONTENT_TYPE' =>
'application/xml',
61 'REQUEST_URI' =>
'/calendars/user1/calendar1',
65 $request->setBody(
'<?xml version="1.0" encoding="utf-8" ?>
66<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
72 <C:comp-filter name="VCALENDAR">
73 <C:comp-filter name="VEVENT">
74 <C:comp-filter name="VALARM">
75 <C:time-range start="20120426T220000Z" end="20120427T215959Z"/>
86 $this->assertFalse(strpos(
'BEGIN:VEVENT',
$response->body));
foreach($paths as $path) $request
An exception for terminatinating execution or to throw for unit testing.
This unittest is created to check for an endless loop in Sabre\CalDAV\CalendarQueryValidator.
This class may be used as a basis for other webdav-related unittests.
request($request, $expectedStatus=null)
Makes a request, and returns a response object.
static createFromServerArray(array $serverArray)
This static method will create a new Request object, based on a PHP $_SERVER array.