aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2013-01-28 10:24:38 -0800
committerJames Lal <james@lightsofapollo.com>2013-01-28 10:46:09 -0800
commitcfbc4beca74e7baae5c1cd993e18aa92857291c7 (patch)
tree9e455654fbfec694de58cf5477ce4ebaa91100fe /test
parent75c6e99f3d3ff16cc6f5dc26b7bf1dbbb4b3f648 (diff)
downloadjsCalDAV-cfbc4beca74e7baae5c1cd993e18aa92857291c7.tar.gz
Handle empty propstat by sending false
Diffstat (limited to 'test')
-rw-r--r--test/caldav/sax/dav_response_test.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/caldav/sax/dav_response_test.js b/test/caldav/sax/dav_response_test.js
index 3825043..dd2ecdd 100644
--- a/test/caldav/sax/dav_response_test.js
+++ b/test/caldav/sax/dav_response_test.js
@@ -83,8 +83,9 @@ suite('caldav/sax/dav_response', function() {
});
expected = {
- '/calendar/user/': {
+ '/calendar/fake/': false,
+ '/calendar/user/': {
'principal-URL': {
status: '200',
value: {
@@ -135,7 +136,7 @@ suite('caldav/sax/dav_response', function() {
'/calendar/user/',
expected['/calendar/user/']
],
- response[0],
+ response[1],
'/calendar/user/ response'
);
@@ -144,7 +145,7 @@ suite('caldav/sax/dav_response', function() {
'/calendar/other',
expected['/calendar/other']
],
- response[1],
+ response[2],
'/calendar/other/ response'
);