davical/testing/tests/regression-suite/834-Spec-FREEBUSY-1.test
Andrew McMillan bd22de220d Apply fixed times to the period of freebusy data requested in order to
get reliable and repeatable results.
2007-02-13 14:53:10 +13:00

23 lines
544 B
Plaintext

#
# Request a REPORT which should report only freebusy
#
TYPE=REPORT
URL=http://mycaldav/caldav.php/user1/home/
HEADER=User-Agent: CALDAV compliance testing
HEADER=Accept: text/calendar
HEADER=Content-Type: text/xml
HEADER=Depth: 1
HEAD
AUTH=manager1:manager1
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<C:free-busy-query xmlns:C="urn:ietf:params:xml:ns:caldav">
<C:time-range start="20061001T000000Z"
end="20070630T235959Z"/>
</C:free-busy-query>
ENDDATA
REPLACE=/^DTSTAMP:\d{8}T\d{6}Z$/DTSTAMP:yyyymmddThhmmssZ/