[Pkg-owncloud-commits] [php-sabre-vobject] 73/128: Failing test for #83.
David Prévot
taffit at moszumanska.debian.org
Tue May 20 23:11:04 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 b5b505eae5554f66ac255edb8ffd857874a2c7b9
Author: Evert Pot <evert at rooftopsolutions.nl>
Date: Fri Mar 7 15:39:28 2014 -0500
Failing test for #83.
---
.../Sabre/VObject/Property/ICalendar/DateTimeTest.php | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/tests/Sabre/VObject/Property/ICalendar/DateTimeTest.php b/tests/Sabre/VObject/Property/ICalendar/DateTimeTest.php
index ec05d05..3cf2143 100644
--- a/tests/Sabre/VObject/Property/ICalendar/DateTimeTest.php
+++ b/tests/Sabre/VObject/Property/ICalendar/DateTimeTest.php
@@ -313,4 +313,22 @@ class DateTimeTest extends \PHPUnit_Framework_TestCase {
}
+ /**
+ * This issue was discovered on the sabredav mailing list.
+ */
+ function testCreateDatePropertyThroughAdd() {
+
+ $vcal = new VCalendar();
+ $vevent = $vcal->add('VEVENT');
+
+ $dtstart = $vevent->add(
+ 'DTSTART',
+ new \DateTime('2014-03-07'),
+ array('VALUE' => 'DATE')
+ );
+
+ $this->assertEquals("DTSTART;VALUE=DATE:20140307\r\n", $dtstart->serialize());
+
+ }
+
}
--
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