#
# Extended MKCOL test - create an addressbook
#
TYPE=MKCOL
URL=http://regression.host/caldav.php/User%20Six/addressbook%20%22Extended%20MKCOL%22/
HEADER=Content-Type: text/xml
AUTH=User Six:user6
HEAD


BEGINDATA
<?xml version="1.0" encoding="UTF-8" ?>
<mkcol xmlns="DAV:" xmlns:CARD="urn:ietf:params:xml:ns:carddav">
 <set>
  <prop>
   <resourcetype>
    <collection/>
    <CARD:addressbook/>
   </resourcetype>
   <displayname>Extended MKCOL Address Book</displayname>
  </prop>
 </set>
</mkcol>
ENDDATA


QUERY
SELECT dav_name, user_no, parent_container, dav_displayname,
       is_calendar, public_events_only, is_addressbook
FROM collection
WHERE dav_name ~ '/User Six/addressbook';
ENDQUERY

