mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +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.
26 lines
623 B
Plaintext
26 lines
623 B
Plaintext
#
|
|
# Testing for Spec compliance. PROPFIND on a calendar,
|
|
# Depth: 1, looking for the getctag & getetag
|
|
#
|
|
TYPE=PROPFIND
|
|
AUTH=user2:user2
|
|
HEADER=User-Agent: RFC2518 Spec Tests
|
|
HEADER=Depth: 1
|
|
HEADER=Content-Type: application/xml
|
|
HEAD
|
|
|
|
REPLACE=#<creationdate>\d{8}T\d{6}</creationdate>#<creationdate>YYYYMMDDThhmmss</creationdate>#
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<propfind xmlns="DAV:" xmlns:CS="http://calendarserver.org/ns/" xmlns:BS="http://complete/bollocks/ns/">
|
|
<prop>
|
|
<CS:getctag/>
|
|
<getetag/>
|
|
<BS:gobbledegook/>
|
|
</prop>
|
|
</propfind>
|
|
ENDDATA
|
|
|
|
URL=http://regression.host/caldav.php/user2/home/
|