mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-30 16:00:25 +00:00
This allows us to have more complex test files where an action is taken, then we test something, then another action is taken, etc. Changes to test files are required so that URL is defined after all the required settings are set. Changes to the result files are either whitespace changes due to above logic changes, or printing out a SQL Result header before each result. I figured it was useful.
37 lines
960 B
Plaintext
37 lines
960 B
Plaintext
#
|
|
# Fetch a future instance from a recurring event.
|
|
# To test: https://gitlab.com/davical-project/davical/-/issues/268
|
|
#
|
|
TYPE=REPORT
|
|
HEADER=Content-Type: text/xml
|
|
HEADER=Depth: 1
|
|
HEAD
|
|
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
<c:calendar-query
|
|
xmlns:c="urn:ietf:params:xml:ns:caldav"
|
|
xmlns:cs="http://calendarserver.org/ns/"
|
|
xmlns:ca="http://apple.com/ns/ical/"
|
|
xmlns:d="DAV:">
|
|
<d:prop>
|
|
<d:getetag/>
|
|
<c:calendar-data>
|
|
<c:expand start="20220721T154500Z" end="20220721T160000Z"/>
|
|
</c:calendar-data>
|
|
</d:prop>
|
|
<c:filter>
|
|
<c:comp-filter name="VCALENDAR">
|
|
<c:comp-filter name="VEVENT">
|
|
<c:time-range start="20220721T154500Z" end="20220721T160000Z"/>
|
|
</c:comp-filter>
|
|
</c:comp-filter>
|
|
</c:filter>
|
|
</c:calendar-query>
|
|
ENDDATA
|
|
|
|
REPLACE=/ETag: "[a-z0-9]+"/ETag: "looks like an etag"/
|
|
|
|
URL=http://regression.host/caldav.php/user1/home/
|