22 'principaluri' =>
'principals/user1',
30 'calendardata' =>
'BEGIN:VCALENDAR 33 UID:20120418T172519CEST-3510gh1hVw 34 DTSTAMP:20120418T152519Z 35 DTSTART;VALUE=DATE:20120330 36 DTEND;VALUE=DATE:20120531 37 EXDATE;TZID=Europe/Berlin:20120330T000000 38 RRULE:FREQ=YEARLY;INTERVAL=1 44 ATTENDEE:MAILTO:xxx@domain.de 45 DESCRIPTION:Dies ist eine Kalender Erinnerung 46 SUMMARY:Kalender Alarm Erinnerung 47 TRIGGER;VALUE=DATE-TIME:20120329T060000Z 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"/> 80 </C:calendar-query>');
86 $this->assertFalse(strpos(
'BEGIN:VEVENT',
$response->body));
foreach($paths as $path) $request
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.
This unittest is created to check for an endless loop in Sabre.