mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-22 14:40:38 +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.
32 lines
783 B
Plaintext
32 lines
783 B
Plaintext
#
|
|
# REPORT on event for 00010102, created by previous test.
|
|
#
|
|
TYPE=REPORT
|
|
AUTH=user1:user1
|
|
HEADER=Content-Type: text/xml; charset="UTF-8"
|
|
HEADER=Depth: 0
|
|
HEAD
|
|
|
|
REPLACE=/^ETag: "[0-9a-f]+"/ETag: "a fine looking etag"/
|
|
REPLACE=/^DTSTAMP:\d+T\d+Z/DTSTAMP:xx/
|
|
REPLACE=/^Content-Length: \d+/Content-Length: xx/
|
|
|
|
BEGINDATA
|
|
<?xml version='1.0' encoding='utf-8'?>
|
|
<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
|
<D:prop>
|
|
<C:calendar-data/>
|
|
</D:prop>
|
|
<C:filter>
|
|
<C:comp-filter name="VCALENDAR">
|
|
<C:comp-filter name="VEVENT">
|
|
<C:time-range start="00010102T000000Z" end="00010102T020000Z"/>
|
|
</C:comp-filter>
|
|
</C:comp-filter>
|
|
</C:filter>
|
|
</C:calendar-query>
|
|
ENDDATA
|
|
|
|
URL=http://regression.host/caldav.php/user1/past-and-future/
|
|
|