mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-28 00:43:37 +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.
30 lines
631 B
Plaintext
30 lines
631 B
Plaintext
#
|
|
# iCal does a PROPPATCH to change the name of a calendar
|
|
#
|
|
TYPE=PROPPATCH
|
|
HEADER=Content-Type: text/xml
|
|
HEADER=User-Agent: DAVKit/2.0 (10.5.1; wrbt) iCal 3.0.1
|
|
HEAD
|
|
|
|
|
|
# Reformatted for readability
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<x0:propertyupdate xmlns:x0="DAV:">
|
|
<x0:set>
|
|
<x0:prop>
|
|
<x0:displayname>iCal Calendar</x0:displayname>
|
|
</x0:prop>
|
|
</x0:set>
|
|
</x0:propertyupdate>
|
|
ENDDATA
|
|
|
|
URL=http://regression.host/caldav.php/user1/6E20BB7C-EFD9-4F0F-9BDC-5335E04D47E0/
|
|
|
|
QUERY
|
|
SELECT dav_displayname, is_calendar
|
|
FROM collection
|
|
WHERE dav_name = '/user1/6E20BB7C-EFD9-4F0F-9BDC-5335E04D47E0/';
|
|
ENDQUERY
|
|
|