[Pkg-owncloud-commits] [php-sabre-vobject] 62/128: Fixed unittests to use valid iCalendar objects again.

David Prévot taffit at moszumanska.debian.org
Tue May 20 23:11:03 UTC 2014


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

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

commit b5b717313c1cb57f6039bf1376939ab4b55b32ff
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Tue Feb 25 14:51:25 2014 -0500

    Fixed unittests to use valid iCalendar objects again.
---
 tests/Sabre/VObject/CliTest.php                | 1 +
 tests/Sabre/VObject/Splitter/ICalendarTest.php | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/tests/Sabre/VObject/CliTest.php b/tests/Sabre/VObject/CliTest.php
index 221f5f2..e2be469 100644
--- a/tests/Sabre/VObject/CliTest.php
+++ b/tests/Sabre/VObject/CliTest.php
@@ -534,6 +534,7 @@ PRODID:-//Sabre//Sabre VObject 3.1.0//EN
 BEGIN:VEVENT
 UID:foo
 DTSTAMP:20140122T233226Z
+DTSTART:20140101T120000Z
 END:VEVENT
 END:VCALENDAR
 
diff --git a/tests/Sabre/VObject/Splitter/ICalendarTest.php b/tests/Sabre/VObject/Splitter/ICalendarTest.php
index 17424a3..411a40e 100644
--- a/tests/Sabre/VObject/Splitter/ICalendarTest.php
+++ b/tests/Sabre/VObject/Splitter/ICalendarTest.php
@@ -28,6 +28,7 @@ BEGIN:VCALENDAR
 BEGIN:VEVENT
 UID:foo
 DTSTAMP:20140122T233226Z
+DTSTART:20140101T070000Z
 END:VEVENT
 END:VCALENDAR
 EOT;
@@ -79,6 +80,7 @@ EOT;
 BEGIN:VEVENT
 UID:foo1
 DTSTAMP:20140122T233226Z
+DTSTART:20140101T050000Z
 END:VEVENT
 EOT;
 
@@ -86,6 +88,7 @@ $event[] = <<<EOT
 BEGIN:VEVENT
 UID:foo2
 DTSTAMP:20140122T233226Z
+DTSTART:20140101T060000Z
 END:VEVENT
 EOT;
 
@@ -130,6 +133,7 @@ VERSION:2.0
 PRODID:-//Sabre//Sabre VObject $this->version//EN
 CALSCALE:GREGORIAN
 BEGIN:VEVENT
+DTSTART:20140101T040000Z
 DTSTAMP:20140122T233226Z
 END:VEVENT
 END:VCALENDAR
@@ -200,6 +204,7 @@ EOT;
 BEGIN:VEVENT
 UID:foo1
 DTSTAMP:20140122T232710Z
+DTSTART:20140101T010000Z
 END:VEVENT
 EOT;
 
@@ -207,6 +212,7 @@ EOT;
 BEGIN:VEVENT
 UID:foo2
 DTSTAMP:20140122T232710Z
+DTSTART:20140101T020000Z
 END:VEVENT
 EOT;
 
@@ -214,6 +220,7 @@ EOT;
 BEGIN:VEVENT
 UID:foo3
 DTSTAMP:20140122T232710Z
+DTSTART:20140101T030000Z
 END:VEVENT
 EOT;
 

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



More information about the Pkg-owncloud-commits mailing list