davical/testing/tests/regression-suite/0241-Moz-REPORT.test
Andrew Ruthven 7c47658bee Make the curl and SQL requests when we see them
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.
2024-04-01 22:57:10 +13:00

34 lines
806 B
Plaintext

#
# REPORT on scheduling inbox for pending VTODO on startup
#
TYPE=REPORT
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18pre) Gecko/20080917 Sunbird/0.9
HEADER=Accept: text/xml
HEADER=Accept-Language: en-us,en;q=0.5
HEADER=Accept-Charset: utf-8,*;q=0.1
HEADER=Content-Type: text/xml; charset=utf-8
HEADER=Depth: 1
HEAD
BEGINDATA
<?xml version="1.0" encoding="UTF-8"?>
<calendar-query xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav">
<D:prop>
<D:getetag/>
</D:prop>
<filter>
<comp-filter name="VCALENDAR">
<comp-filter name="VTODO"/>
</comp-filter>
</filter>
</calendar-query>
ENDDATA
URL=http://regression.host/caldav.php/user1/.in/
QUERY
SELECT dav_name, dav_displayname, parent_container
FROM collection
WHERE dav_name = '/user1/.in/'
ENDQUERY