mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-19 01:34:26 +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.
20 lines
681 B
Plaintext
20 lines
681 B
Plaintext
#
|
|
# Chandler expects the calendar to be there. After confirming
|
|
# that it wants to find out what privileges are available.
|
|
#
|
|
TYPE=PROPFIND
|
|
HEADER=Depth: 0
|
|
HEADER=Content-Type: text/xml; charset=utf-8
|
|
HEADER=Chandler/0.7alpha4 (Linux)
|
|
HEAD
|
|
|
|
BEGINDATA
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
<ns0:propfind xmlns:ns0="DAV:"><ns0:prop><ns0:current-user-privilege-set /><ns0:getetag /><ns0:resourcetype /><ns0:displayname /></ns0:prop></ns0:propfind>
|
|
ENDDATA
|
|
|
|
# REPLACE=/<get.tag>"[0-9a-f]{32}"<.get.tag>/<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>/
|
|
# REPLACE=/^ETag: "[0-9a-f]{32}"/ETag: "deadbeefcafef00ddeadbeefcafefeed"/
|
|
|
|
URL=http://regression.host/caldav.php/user1/home/
|