Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0873-GroupDAV-PROPFIND.test
blob5fd7a58cc6ec11527880ee6c4afd21be458b82b9
2 # Testing with a GroupDAV style request for a PROPFIND on the root with a Depth 1
4 TYPE=PROPFIND
5 URL=http://regression.host/caldav.php/
6 HEAD
8 AUTH=user1:user1
10 HEADER=Content-Type: text/xml
11 HEADER=Depth: 1
13 BEGINDATA
14 <?xml version="1.0" encoding="utf-8"?>
15 <propfind xmlns="DAV:"
16   xmlns:I="urn:ietf:params:xml:ns:caldav"
17   xmlns:C="urn:ietf:params:xml:ns:carddav"
18   xmlns:G="http://groupdav.org/"
19   xmlns:A="http://calendarserver.org/ns/"
20  >
21    <prop>
22      <displayname/>
23      <resourcetype/>
24      <getetag/>
25      <getcontenttype/>
26      <current-user-privilege-set/>
27      <G:component-set/>
28      <I:supported-calendar-component-set/>
29      <I:supported-calendar-data/>
30      <I:calendar-description/>
31      <C:supported-address-data/>
32      <C:addressbook-description/>
33      <A:getctag/>
34    </prop>
35 </propfind>
36 ENDDATA
38 REPLACE=/ETag: "\S+"/ETag: "some valid etag"/
39 REPLACE=!C:getctag>\S+</C:getctag!C:getctag>some valid etag</C:getctag!