From 0a7fcee0f084318a8af4a6189c4bd43348db8d58 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Tue, 24 Aug 2010 14:43:16 +1200 Subject: [PATCH] Updated results with null assignment warnings suppressed. --- testing/tests/carddav/2015-PUT-vcard.result | 12 +++--------- testing/tests/carddav/2017-PUT-vcard.result | 12 +++--------- testing/tests/carddav/2018-PUT-vcard.result | 18 +++--------------- .../carddav/2024-MKCOL-addressbook.result | 6 +++--- 4 files changed, 12 insertions(+), 36 deletions(-) diff --git a/testing/tests/carddav/2015-PUT-vcard.result b/testing/tests/carddav/2015-PUT-vcard.result index fbf57725..f88848b9 100644 --- a/testing/tests/carddav/2015-PUT-vcard.result +++ b/testing/tests/carddav/2015-PUT-vcard.result @@ -1,17 +1,11 @@ -HTTP/1.1 200 OK +HTTP/1.1 201 Created Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule -Content-Length: 381 -Content-Type: text/html +Content-Length: 0 +Content-Type: text/plain; charset="utf-8" -Notice: Undefined offset: 6 in /home/andrew/projects/davical/inc/vcard.php on line 101 - -Notice: Undefined offset: 6 in /home/andrew/projects/davical/inc/vcard.php on line 101 - -Warning: Cannot modify header information - headers already sent by (output started at /home/andrew/projects/davical/inc/vcard.php:101) in /home/andrew/projects/davical/inc/CalDAVRequest.php on line 1151 - caladruri: >NULL< caluri: >NULL< dav_etag: >d43780719361367f2d690f1f966e3da1< diff --git a/testing/tests/carddav/2017-PUT-vcard.result b/testing/tests/carddav/2017-PUT-vcard.result index 892611b7..9f785a33 100644 --- a/testing/tests/carddav/2017-PUT-vcard.result +++ b/testing/tests/carddav/2017-PUT-vcard.result @@ -1,19 +1,13 @@ HTTP/1.1 100 Continue -HTTP/1.1 200 OK +HTTP/1.1 201 Created Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule -Content-Length: 381 -Content-Type: text/html +Content-Length: 0 +Content-Type: text/plain; charset="utf-8" -Notice: Undefined offset: 6 in /home/andrew/projects/davical/inc/vcard.php on line 101 - -Notice: Undefined offset: 6 in /home/andrew/projects/davical/inc/vcard.php on line 101 - -Warning: Cannot modify header information - headers already sent by (output started at /home/andrew/projects/davical/inc/vcard.php:101) in /home/andrew/projects/davical/inc/CalDAVRequest.php on line 1151 - caladruri: >http://caldav.andresen.local/access< caluri: >http://caldav.andresen.local/sja< dav_etag: >f6ae02ec1b5612fe4737092734d062c7< diff --git a/testing/tests/carddav/2018-PUT-vcard.result b/testing/tests/carddav/2018-PUT-vcard.result index 5a3843f1..9e9a045d 100644 --- a/testing/tests/carddav/2018-PUT-vcard.result +++ b/testing/tests/carddav/2018-PUT-vcard.result @@ -1,25 +1,13 @@ HTTP/1.1 100 Continue -HTTP/1.1 200 OK +HTTP/1.1 201 Created Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule -Content-Length: 643 -Content-Type: text/html +Content-Length: 0 +Content-Type: text/plain; charset="utf-8" -Notice: Undefined offset: 6 in /home/andrew/projects/davical/inc/vcard.php on line 101 - -Notice: Undefined offset: 3 in /home/andrew/projects/davical/inc/vcard.php on line 98 - -Notice: Undefined offset: 4 in /home/andrew/projects/davical/inc/vcard.php on line 99 - -Notice: Undefined offset: 5 in /home/andrew/projects/davical/inc/vcard.php on line 100 - -Notice: Undefined offset: 6 in /home/andrew/projects/davical/inc/vcard.php on line 101 - -Warning: Cannot modify header information - headers already sent by (output started at /home/andrew/projects/davical/inc/vcard.php:101) in /home/andrew/projects/davical/inc/CalDAVRequest.php on line 1151 - caladruri: >http://davical.hadi-schmist.home/access< caluri: >http://davical.hadi-schmist.home/hadi< dav_etag: >db3e92c0ae37268c647949367e2030cc< diff --git a/testing/tests/carddav/2024-MKCOL-addressbook.result b/testing/tests/carddav/2024-MKCOL-addressbook.result index 28a356aa..42f70eda 100644 --- a/testing/tests/carddav/2024-MKCOL-addressbook.result +++ b/testing/tests/carddav/2024-MKCOL-addressbook.result @@ -7,11 +7,11 @@ Content-Length: 0 Content-Type: text/plain; charset="utf-8" - dav_displayname: >User 1's Addresses< + dav_displayname: >User 2's Addresses< is_addressbook: >1< is_calendar: >0< - parent_container: >/user1/< + parent_container: >/user2/< public_events_onl: >0< resourcetypes: >< - user_no: >10< + user_no: >11<