mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-29 15:51:27 +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
650 B
Plaintext
20 lines
650 B
Plaintext
#
|
|
# Do a PROPFIND request with no content
|
|
# we continue to see this as a collection...
|
|
#
|
|
TYPE=PROPFIND
|
|
# HEAD
|
|
|
|
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061013 Thunderbird/1.5.0.7
|
|
HEADER=Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
|
|
HEADER=Accept-Language: en-us,en;q=0.5
|
|
HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
|
HEADER=Depth: 0
|
|
|
|
BEGINDATA
|
|
ENDDATA
|
|
|
|
REPLACE=#<creationdate>2\d{3}-\d\d-\d\dT\d\d:\d\d:\d\d[+-]\d\d:\d\d</creationdate>#<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>#
|
|
|
|
URL=http://regression.host/caldav.php/user1/home
|