[Pkg-owncloud-commits] [php-sabre-vobject] 06/16: updated #96 test

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 e6aa8c302d19b170c7fc14f3014621836b182436
Author: Dominik Tobschall <dominik at fruux.com>
Date:   Fri Jul 11 18:46:18 2014 +0200

    updated #96 test
---
 tests/Sabre/VObject/Issue96Test.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/Sabre/VObject/Issue96Test.php b/tests/Sabre/VObject/Issue96Test.php
index 48313ab..0a516a7 100644
--- a/tests/Sabre/VObject/Issue96Test.php
+++ b/tests/Sabre/VObject/Issue96Test.php
@@ -8,8 +8,6 @@ class Issue96Test extends \PHPUnit_Framework_TestCase {
 
         $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
@@ -17,6 +15,7 @@ VCF;
 
         $vcard = Reader::read($input);
         $this->assertInstanceOf('Sabre\\VObject\\Component\\VCard', $vcard);
+        $this->assertEquals("http://www.example.org", $this->getPropertyValue($vcard->url));
 
     }
 

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