[Pkg-owncloud-commits] [php-sabredav] 08/31: Ensuring tests pass for vobject 3.3.0

David Prévot taffit at moszumanska.debian.org
Wed Aug 27 22:33:05 UTC 2014


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

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

commit 79c329208789cadae7f9aed7ebbc55751ee13c05
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Thu Aug 7 14:58:34 2014 -0400

    Ensuring tests pass for vobject 3.3.0
---
 tests/Sabre/CalDAV/Backend/AbstractPDOTest.php    | 4 ++--
 tests/Sabre/CalDAV/CalendarQueryValidatorTest.php | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php b/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php
index 2224f0b..e951e19 100644
--- a/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php
+++ b/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php
@@ -253,7 +253,7 @@ abstract class AbstractPDOTest extends \PHPUnit_Framework_TestCase {
         $backend = new PDO($this->pdo);
         $returnedId = $backend->createCalendar('principals/user2','somerandomid',array());
 
-        $object = "BEGIN:VCALENDAR\r\nBEGIN:VEVENT\r\nDTSTART;VALUE=DATE-TIME:20120101T100000Z\r\nRRULE:FREQ=DAILY\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n";
+        $object = "BEGIN:VCALENDAR\r\nBEGIN:VEVENT\r\nDTSTART;VALUE=DATE-TIME:20120101T100000Z\r\nRRULE:FREQ=DAILY\r\nUID:foo\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n";
 
         $backend->createCalendarObject($returnedId, 'random-id', $object);
 
@@ -277,7 +277,7 @@ abstract class AbstractPDOTest extends \PHPUnit_Framework_TestCase {
         $backend = new PDO($this->pdo);
         $returnedId = $backend->createCalendar('principals/user2','somerandomid',array());
 
-        $object = "BEGIN:VCALENDAR\r\nBEGIN:VEVENT\r\nDTSTART;VALUE=DATE-TIME:20120101T100000Z\r\nDTEND;VALUE=DATE-TIME:20120101T110000Z\r\nRRULE:FREQ=DAILY;COUNT=1000\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n";
+        $object = "BEGIN:VCALENDAR\r\nBEGIN:VEVENT\r\nDTSTART;VALUE=DATE-TIME:20120101T100000Z\r\nDTEND;VALUE=DATE-TIME:20120101T110000Z\r\nUID:foo\r\nRRULE:FREQ=DAILY;COUNT=1000\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n";
 
         $backend->createCalendarObject($returnedId, 'random-id', $object);
 
diff --git a/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php b/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php
index deb70d2..67781cc 100644
--- a/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php
+++ b/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php
@@ -334,6 +334,7 @@ yow;
         $blob31 = <<<yow
 BEGIN:VCALENDAR
 BEGIN:VEVENT
+UID:foobar
 DTSTART:20080101T120000Z
 DURATION:PT1H
 RRULE:FREQ=YEARLY
@@ -344,6 +345,7 @@ yow;
         $blob32 = <<<yow
 BEGIN:VCALENDAR
 BEGIN:VEVENT
+UID:foobar
 DTSTART:20080102T120000Z
 DURATION:PT1H
 RRULE:FREQ=YEARLY
@@ -353,6 +355,7 @@ yow;
         $blob33 = <<<yow
 BEGIN:VCALENDAR
 BEGIN:VEVENT
+UID:foobar
 DTSTART;VALUE=DATE:20120628
 RRULE:FREQ=DAILY
 END:VEVENT
@@ -361,6 +364,7 @@ yow;
         $blob34 = <<<yow
 BEGIN:VCALENDAR
 BEGIN:VEVENT
+UID:foobar
 DTSTART;VALUE=DATE:20120628
 RRULE:FREQ=DAILY
 BEGIN:VALARM

-- 
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