[Pkg-owncloud-commits] [php-sabre-vobject] 05/16: test for #96

David Prévot taffit at moszumanska.debian.org
Mon Jul 21 19:19:14 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 98529b10954624a92b6868781690db8f60c4b3ad
Author: Dominik Tobschall <dominik at fruux.com>
Date:   Fri Jul 11 11:15:52 2014 +0200

    test for #96
---
 tests/Sabre/VObject/Issue96Test.php | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/tests/Sabre/VObject/Issue96Test.php b/tests/Sabre/VObject/Issue96Test.php
new file mode 100644
index 0000000..48313ab
--- /dev/null
+++ b/tests/Sabre/VObject/Issue96Test.php
@@ -0,0 +1,23 @@
+<?php
+
+namespace Sabre\VObject;
+
+class Issue96Test extends \PHPUnit_Framework_TestCase {
+
+    function testRead() {
+
+        $input = <<<VCF
+BEGIN:VCARD
+VERSION:2.1
+SOURCE:Yahoo Contacts (http://contacts.yahoo.com)
+URL;CHARSET=utf-8;ENCODING=QUOTED-PRINTABLE: =
+http&#92;://www.example.org
+END:VCARD
+VCF;
+
+        $vcard = Reader::read($input);
+        $this->assertInstanceOf('Sabre\\VObject\\Component\\VCard', $vcard);
+
+    }
+
+}

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