[Pkg-owncloud-commits] [php-sabre-vobject] 214/341: xCard/vCard groups are now reflexively equals.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:49 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 12f6a5b0298edb79127c6fb1c3b88947da466d2c
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Mon Jan 26 16:28:40 2015 +0100
xCard/vCard groups are now reflexively equals.
---
tests/VObject/Parser/XmlTest.php | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/tests/VObject/Parser/XmlTest.php b/tests/VObject/Parser/XmlTest.php
index fa9e632..00344e4 100644
--- a/tests/VObject/Parser/XmlTest.php
+++ b/tests/VObject/Parser/XmlTest.php
@@ -1211,7 +1211,7 @@ XML;
function testRFC6351Section5() {
- $this->assertXMLEqualsToMimeDir(
+ $this->assertXMLReflexivelyEqualsToMimeDir(
<<<XML
<?xml version="1.0" encoding="UTF-8"?>
<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
@@ -1239,33 +1239,37 @@ XML
function testRFC6351Section5Group() {
- $this->assertXMLEqualsToMimeDir(
+ $this->assertXMLReflexivelyEqualsToMimeDir(
<<<XML
<?xml version="1.0" encoding="UTF-8"?>
<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
<vcard>
+ <tel>
+ <uri>tel:+1-555-555-556</uri>
+ </tel>
<group name="contact">
<fn>
<text>Gordon</text>
</fn>
+ <tel>
+ <uri>tel:+1-555-555-555</uri>
+ </tel>
</group>
<group name="media">
<fn>
<text>Gordon</text>
</fn>
</group>
- <tel>
- <uri>tel:+1-555-555-555</uri>
- </tel>
</vcard>
</vcards>
XML
,
'BEGIN:VCARD' . CRLF .
'VERSION:4.0' . CRLF .
+ 'TEL:tel:+1-555-555-556' . CRLF .
'contact.FN:Gordon' . CRLF .
+ 'contact.TEL:tel:+1-555-555-555' . CRLF .
'media.FN:Gordon' . CRLF .
- 'TEL:tel:+1-555-555-555' . CRLF .
'END:VCARD' . CRLF
);
--
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