Add test of error response for a REPORT which is not supported.

This commit is contained in:
Andrew McMillan 2011-09-09 22:53:52 +12:00
parent c6a1451f14
commit 8b77885cac
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<error xmlns="DAV:">
<supported-report/>"bogus:namespace:which:does:not:exist:non-existent-report" is not a supported report type
</error>

View File

@ -0,0 +1,14 @@
#
# Test REPORT response to a request for an unsupported report
#
TYPE=REPORT
URL=http://regression.host/caldav.php/user1/home/
BEGINDATA
<?xml version="1.0" encoding="UTF-8"?>
<non-existent-report xmlns="bogus:namespace:which:does:not:exist">
<bogus-tag/>
</non-existent-report>
ENDDATA