#
# MKCALENDAR test for iCal
#
TYPE=MKCALENDAR
URL=http://regression.host/caldav.php/user1/VTODO-EFD9-4F0F-9BDC-5335E04D47E0/
HEADER=Content-Type: text/xml
HEAD


BEGINDATA
<?xml version="1.0" encoding="UTF-8" ?>
<x0:mkcalendar xmlns:x0="urn:ietf:params:xml:ns:caldav" xmlns:x1="DAV:" xmlns:x2="http://apple.com/ns/ical/">
 <x1:set>
  <x1:prop>
   <x1:displayname>Untitled</x1:displayname>
   <x2:calendar-color>#391B71A0</x2:calendar-color>
   <x0:supported-calendar-component-set>
    <x0:comp name="VTODO"/>
   </x0:supported-calendar-component-set>
  </x1:prop>
 </x1:set>
</x0:mkcalendar>
ENDDATA


QUERY
SELECT user_no, parent_container, dav_displayname,
       is_calendar, public_events_only
FROM collection
WHERE dav_name = '/user1/VTODO-EFD9-4F0F-9BDC-5335E04D47E0/';
ENDQUERY

QUERY
SELECT property_name, property_value, changed_by
FROM property
WHERE dav_name = '/user1/VTODO-EFD9-4F0F-9BDC-5335E04D47E0/';
ENDQUERY

