davical/testing/tests/regression-suite/2605-REPORT-freebusy-no-start-no-end.test
Andrew Ruthven 9c10ef5eb2 Support start or end missing from free-busy-query REPORT
Previously if either start or end were missing then the current time was
used. This would almost never be the expected behaviour.
2024-03-03 21:30:21 +13:00

21 lines
473 B
Plaintext

#
# Request a REPORT with no start end end set, should return an error.
#
TYPE=REPORT
URL=http://regression.host/caldav.php/user1/291-test-fb-rr-changes/
HEADER=Accept: text/calendar
HEADER=Content-Type: text/xml
HEADER=Depth: 1
HEAD
AUTH=user4:user4
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<C:free-busy-query xmlns:C="urn:ietf:params:xml:ns:caldav">
<C:time-range />
</C:free-busy-query>
ENDDATA
REPLACE=/^DTSTAMP:\d{8}T\d{6}Z\r?$/DTSTAMP:yyyymmddThhmmssZ/