#
# Test REPORT access to a non-public calendar using a ticket.
#
TYPE=REPORT
URL=http://regression.host/public.php/user2/home/
NOAUTH


# Get the ticket we created earlier in 948...
GETSQL=ticket
SELECT ticket_id FROM access_ticket
                WHERE target_collection_id = 161 AND target_resource_id is null;
ENDSQL

HEADER=User-Agent: DAViCalTester/public
HEADER=Content-Type: text/xml; charset="UTF-8"
HEADER=Ticket: ##ticket##
HEAD


BEGINDATA
<?xml version="1.0" encoding="UTF-8"?>
<calendar-multiget xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav">
  <D:prop>
    <calendar-data>
      <expand start="20081001T000000Z" end="20081201T000000Z"/>
    </calendar-data>
  </D:prop>
  <D:href>/public.php/user2/home/33169d69-2969-4a96-a3e1-2e312b7614e6.ics</D:href>
</calendar-multiget>
ENDDATA

