From cfbc4beca74e7baae5c1cd993e18aa92857291c7 Mon Sep 17 00:00:00 2001 From: James Lal Date: Mon, 28 Jan 2013 10:24:38 -0800 Subject: Handle empty propstat by sending false --- test/caldav/sax/dav_response_test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test') 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' ); -- cgit