22 'principaluri' =>
'principals/user1',
30 'calendardata' =>
'BEGIN:VCALENDAR
33UID:20120730T113415CEST-6804EGphkd@xxxxxx.de
34DTSTAMP:20120730T093415Z
35DTSTART;VALUE=DATE:20120729
36DTEND;VALUE=DATE:20120730
46 function testIssue228() {
49 'REQUEST_METHOD' =>
'REPORT',
50 'HTTP_CONTENT_TYPE' =>
'application/xml',
51 'REQUEST_URI' =>
'/calendars/user1/calendar1',
55 $request->setBody(
'<?xml version="1.0" encoding="utf-8" ?>
56<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
59 <C:expand start="20120730T095609Z"
60 end="20120813T095609Z"/>
65 <C:comp-filter name="VCALENDAR">
66 <C:comp-filter name="VEVENT">
67 <C:time-range start="20120730T095609Z" end="20120813T095609Z"/>
76 $this->assertFalse(strpos(
$response->body,
'BEGIN:VCALENDAR'));
foreach($paths as $path) $request
An exception for terminatinating execution or to throw for unit testing.
This unittest is created to check if the time-range filter is working correctly with all-day-events.
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.