davical/testing/tests/regression-suite/2101-REPORT-Principal-Room.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

26 lines
662 B
Plaintext

#
# Query from Calendar on macOS >= Ventura
#
# Should only report principals that match ROOM
#
TYPE=REPORT
HEADER=User-Agent: DAViCal/RegressionTest
HEADER=Content-Type: text/xml
HEADER=Depth: 0
HEAD
BEGINDATA
<?xml version="1.0" encoding="UTF-8"?>
<A:principal-property-search xmlns:A="DAV:" type="ROOM" test="anyof">
<A:prop>
<B:calendar-user-address-set xmlns:B="urn:ietf:params:xml:ns:caldav"/>
<A:principal-URL/>
<B:calendar-user-type xmlns:B="urn:ietf:params:xml:ns:caldav"/>
<C:record-type xmlns:C="http://calendarserver.org/ns/"/>
</A:prop>
</A:principal-property-search>
ENDDATA
URL=http://regression.host/caldav.php/user1/home/