[Pkg-owncloud-commits] [php-sabre-vobject] 29/43: Test demonstrating failure reported in #179
David Prévot
taffit at moszumanska.debian.org
Sat Jan 10 14:20:16 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 4bc725c077abc8312a874202cd8fe1c50ce29865
Author: Evert Pot <me at evertpot.com>
Date: Thu Jan 8 13:33:19 2015 -0500
Test demonstrating failure reported in #179
---
tests/VObject/JCalTest.php | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/VObject/JCalTest.php b/tests/VObject/JCalTest.php
index 8c44618..f23165b 100644
--- a/tests/VObject/JCalTest.php
+++ b/tests/VObject/JCalTest.php
@@ -34,6 +34,8 @@ class JCalTest extends \PHPUnit_Framework_TestCase {
$event->add('REQUEST-STATUS', array("2.0", "Success"));
$event->add('REQUEST-STATUS', array("3.7", "Invalid Calendar User", "ATTENDEE:mailto:jsmith at example.org"));
+ $event->add('DTEND', '20150108T133000');
+
$expected = array(
"vcalendar",
array(
@@ -129,6 +131,12 @@ class JCalTest extends \PHPUnit_Framework_TestCase {
"text",
array("3.7", "Invalid Calendar User", "ATTENDEE:mailto:jsmith at example.org"),
),
+ array(
+ 'dtend',
+ new \StdClass(),
+ "date-time",
+ "2015-01-08T13:30:00",
+ ),
),
array(),
)
--
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