mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-19 14:10: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.
30 lines
591 B
Plaintext
30 lines
591 B
Plaintext
#
|
|
# Extended MKCOL test - Normal collection to create off a principal-URL
|
|
#
|
|
TYPE=MKCOL
|
|
HEADER=Content-Type: text/xml
|
|
AUTH=user4:user4
|
|
HEAD
|
|
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<mkcol xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
|
<set>
|
|
<prop>
|
|
<displayname>A normal collection</displayname>
|
|
</prop>
|
|
</set>
|
|
</mkcol>
|
|
ENDDATA
|
|
|
|
URL=http://regression.host/caldav.php/user4/base/
|
|
|
|
QUERY
|
|
SELECT user_no, parent_container, dav_displayname,
|
|
is_calendar, public_events_only, is_addressbook, resourcetypes
|
|
FROM collection
|
|
WHERE dav_name ~ '/user4/base/';
|
|
ENDQUERY
|
|
|