mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-20 14:20:14 +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
458 B
Plaintext
20 lines
458 B
Plaintext
#
|
|
# Testing with a process similar to Mozilla Sunbird 0.7
|
|
#
|
|
TYPE=PROPFIND
|
|
HEAD
|
|
|
|
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8pre) Gecko/20071023 Sunbird/0.7
|
|
HEADER=Content-Type: text/xml; charset=utf-8
|
|
HEADER=Depth: 0
|
|
|
|
#
|
|
# The first query just gets the resourcetype
|
|
#
|
|
BEGINDATA
|
|
<?xml version="1.0"?>
|
|
<D:propfind xmlns:D="DAV:"><D:prop><D:resourcetype/></D:prop></D:propfind>
|
|
ENDDATA
|
|
|
|
URL=http://regression.host/caldav.php/user1/home/
|