mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-01 16:11:20 +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.
29 lines
678 B
Plaintext
29 lines
678 B
Plaintext
#
|
|
# A test from Mozilla after we have run all other tests and have
|
|
# events from other calendars in the database.
|
|
#
|
|
TYPE=REPORT
|
|
HEADER=User-Agent: DAViCal/RegressionTest
|
|
HEADER=Content-Type: text/xml
|
|
HEADER=Depth: 1
|
|
HEAD
|
|
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<calendar-query xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav">
|
|
<filter>
|
|
<comp-filter name="VCALENDAR">
|
|
<comp-filter name="VEVENT">
|
|
<time-range start="20061125T110000Z" end="20070107T110000Z"/>
|
|
</comp-filter>
|
|
</comp-filter>
|
|
</filter>
|
|
</calendar-query>
|
|
ENDDATA
|
|
|
|
|
|
REPLACE=/ETag: "[a-z0-9]+"/ETag: "looks like an etag"/
|
|
|
|
URL=http://regression.host/caldav.php/user1/home/
|