[Pkg-owncloud-commits] [php-sabre-vobject] 193/341: Temporary fix for the tests.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:47 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 41710be533cc56d25f1735d60d642a7b33cfeab5
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Thu Jan 22 12:17:31 2015 +0100
Temporary fix for the tests.
---
tests/VObject/ReaderTest.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/VObject/ReaderTest.php b/tests/VObject/ReaderTest.php
index 3bdda95..3588e83 100644
--- a/tests/VObject/ReaderTest.php
+++ b/tests/VObject/ReaderTest.php
@@ -458,7 +458,7 @@ ICS;
</icalendar>
XML;
- $result = Reader::readXML($data);
+ $result = Reader::readXML($data)->current();
$this->assertInstanceOf('Sabre\\VObject\\Component', $result);
$this->assertEquals('VCALENDAR', $result->name);
@@ -480,7 +480,7 @@ XML;
fwrite($stream, $data);
rewind($stream);
- $result = Reader::readXML($stream);
+ $result = Reader::readXML($stream)->current();
$this->assertInstanceOf('Sabre\\VObject\\Component', $result);
$this->assertEquals('VCALENDAR', $result->name);
--
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