[Pkg-owncloud-commits] [php-sabredav] 104/148: Fixed unittests. #602.

David Prévot taffit at moszumanska.debian.org
Wed Apr 15 01:37:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit fcf64109560e6f19f356b6f9cd2a803b66204402
Author: Evert Pot <me at evertpot.com>
Date:   Wed Apr 1 02:11:55 2015 -0400

    Fixed unittests. #602.
---
 tests/Sabre/CalDAV/PluginTest.php | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/tests/Sabre/CalDAV/PluginTest.php b/tests/Sabre/CalDAV/PluginTest.php
index bee8638..aff3113 100644
--- a/tests/Sabre/CalDAV/PluginTest.php
+++ b/tests/Sabre/CalDAV/PluginTest.php
@@ -595,12 +595,12 @@ END:VCALENDAR';
 
         $expected = <<<XML
 <?xml version="1.0"?>
-<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
+<d:multistatus xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/" xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
 <d:response>
   <d:href>/calendars/user1/UUID-123467/UUID-2345</d:href>
   <d:propstat>
     <d:prop>
-      <x1:calendar-data xmlns:x1="urn:ietf:params:xml:ns:caldav">$expectedIcal</x1:calendar-data>
+      <cal:calendar-data>$expectedIcal</cal:calendar-data>
       <d:getetag>"e207e33c10e5fb9c12cfb35b5d9116e1"</d:getetag>
     </d:prop>
     <d:status>HTTP/1.1 200 OK</d:status>
@@ -652,12 +652,12 @@ XML;
 
         $expected = <<<XML
 <?xml version="1.0"?>
-<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
+<d:multistatus xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/" xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
 <d:response>
   <d:href>/calendars/user1/UUID-123467/UUID-2345</d:href>
   <d:propstat>
     <d:prop>
-      <x1:calendar-data xmlns:x1="urn:ietf:params:xml:ns:caldav">$expectedIcal</x1:calendar-data>
+      <cal:calendar-data>$expectedIcal</cal:calendar-data>
       <d:getetag>"e207e33c10e5fb9c12cfb35b5d9116e1"</d:getetag>
     </d:prop>
     <d:status>HTTP/1.1 200 OK</d:status>
@@ -714,12 +714,12 @@ XML;
 
         $expected = <<<XML
 <?xml version="1.0"?>
-<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
+<d:multistatus xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/" xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
 <d:response>
   <d:href>/calendars/user1/UUID-123467/UUID-2345</d:href>
   <d:propstat>
     <d:prop>
-      <x1:calendar-data xmlns:x1="urn:ietf:params:xml:ns:caldav">$expectedIcal</x1:calendar-data>
+      <cal:calendar-data>$expectedIcal</cal:calendar-data>
       <d:getetag>"e207e33c10e5fb9c12cfb35b5d9116e1"</d:getetag>
     </d:prop>
     <d:status>HTTP/1.1 200 OK</d:status>
@@ -764,7 +764,7 @@ XML;
 
         $expected = <<<XML
 <?xml version="1.0"?>
-<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
+<d:multistatus xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/" xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
 <d:response>
   <d:href>/calendars/user1/UUID-123467/UUID-2345</d:href>
   <d:propstat>
@@ -852,12 +852,12 @@ XML;
 
         $expected = <<<XML
 <?xml version="1.0"?>
-<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
+<d:multistatus xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/" xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
 <d:response>
   <d:href>/calendars/user1/UUID-123467/UUID-2345</d:href>
   <d:propstat>
     <d:prop>
-      <x1:calendar-data xmlns:x1="urn:ietf:params:xml:ns:caldav">$expectedIcal</x1:calendar-data>
+      <cal:calendar-data>$expectedIcal</cal:calendar-data>
       <d:getetag>"e207e33c10e5fb9c12cfb35b5d9116e1"</d:getetag>
     </d:prop>
     <d:status>HTTP/1.1 200 OK</d:status>
@@ -903,7 +903,7 @@ XML;
 
         $expected = <<<XML
 <?xml version="1.0"?>
-<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
+<d:multistatus xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/" xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
 <d:response>
   <d:href>/calendars/user1/UUID-123467/UUID-2345</d:href>
   <d:propstat>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list