From 8b77885cac52abad8dee04b580c4c300e2d19547 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 9 Sep 2011 22:53:52 +1200 Subject: [PATCH] Add test of error response for a REPORT which is not supported. --- .../0995-REPORT-not-supported.result | 4 ++++ .../0995-REPORT-not-supported.test | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 testing/tests/regression-suite/0995-REPORT-not-supported.result create mode 100644 testing/tests/regression-suite/0995-REPORT-not-supported.test diff --git a/testing/tests/regression-suite/0995-REPORT-not-supported.result b/testing/tests/regression-suite/0995-REPORT-not-supported.result new file mode 100644 index 00000000..7870c549 --- /dev/null +++ b/testing/tests/regression-suite/0995-REPORT-not-supported.result @@ -0,0 +1,4 @@ + + + "bogus:namespace:which:does:not:exist:non-existent-report" is not a supported report type + \ No newline at end of file diff --git a/testing/tests/regression-suite/0995-REPORT-not-supported.test b/testing/tests/regression-suite/0995-REPORT-not-supported.test new file mode 100644 index 00000000..5089c977 --- /dev/null +++ b/testing/tests/regression-suite/0995-REPORT-not-supported.test @@ -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 + + + + +ENDDATA +