[Pkg-owncloud-commits] [php-sabre-vobject] 116/341: Update tests according to previous commits.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:39 UTC 2015
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 97fb0930f0aa3b522f660f99f064e3e801593b1f
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Tue Jan 13 16:47:18 2015 +0100
Update tests according to previous commits.
---
tests/VObject/Parser/XmlTest.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/VObject/Parser/XmlTest.php b/tests/VObject/Parser/XmlTest.php
index 3ab7621..ec06ce1 100644
--- a/tests/VObject/Parser/XmlTest.php
+++ b/tests/VObject/Parser/XmlTest.php
@@ -49,17 +49,18 @@ XML;
$component = VObject\Reader::readXML($xml);
$this->assertEquals(
'BEGIN:VCALENDAR' . "\r\n" .
+ // VERSION comes first because this is required by vCard 4.0.
'VERSION:2.0' . "\r\n" .
'CALSCALE:GREGORIAN' . "\r\n" .
'PRODID:-//Example Inc.//Example Calendar//EN' . "\r\n" .
'BEGIN:VEVENT' . "\r\n" .
'DTSTAMP:20080205T191224Z' . "\r\n" .
- 'DTSTART:20081006' . "\r\n" .
+ 'DTSTART;VALUE=DATE:20081006' . "\r\n" .
'SUMMARY:Planning meeting' . "\r\n" .
'UID:4088E990AD89CB3DBB484909' . "\r\n" .
'END:VEVENT' . "\r\n" .
'END:VCALENDAR' . "\r\n",
- Vobject\Writer::write($component)
+ VObject\Writer::write($component)
);
}
--
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