mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-18 01:31:21 +00:00
Gosh, this was completely broken previously. A number of different scenarios now work. I have used some of the state I've seen in a largish production database with the presence of NULL and empty strings. I've assumed that empty string should be treated as is-not-defined. Happy to be talked out of that. Closes #281.
34 lines
766 B
Plaintext
34 lines
766 B
Plaintext
#
|
|
# Make a new collect for events
|
|
#
|
|
TYPE=MKCALENDAR
|
|
URL=http://regression.host/caldav.php/user1/
|
|
|
|
HEADER=User-Agent: DAViCal test/1.12.0
|
|
HEADER=Content-Type: text/xml; charset=utf-8
|
|
HEADER=Accept: */*
|
|
HEADER=Content-Type: application/xml; charset="utf-8"
|
|
|
|
HEAD
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
<C:mkcalendar xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
|
<D:set>
|
|
<D:prop>
|
|
<D:displayname>Events_tests</D:displayname>
|
|
<C:supported-calendar-component-set>
|
|
<C:comp name="VEVENT"/>
|
|
<C:comp name="VTODO"/>
|
|
<C:comp name="VTIMEZONE"/>
|
|
<C:comp name="VFREEBUSY"/>
|
|
</C:supported-calendar-component-set>
|
|
</D:prop>
|
|
</D:set>
|
|
</C:mkcalendar>
|
|
ENDDATA
|
|
|
|
QUERY
|
|
SELECT * FROM collection WHERE dav_name = '/user1/Events tests';
|
|
ENDQUERY
|