[Pkg-owncloud-commits] [php-sabre-vobject] 08/19: Fixed two unittests.
David Prévot
taffit at moszumanska.debian.org
Sun Jun 15 02:08:54 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 0c868f7ed6f0d8b5c6bc670f89d72e11c4bf3cfc
Author: Evert Pot <me at evertpot.com>
Date: Tue Jun 3 14:50:38 2014 -0400
Fixed two unittests.
---
tests/Sabre/VObject/ParameterTest.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/Sabre/VObject/ParameterTest.php b/tests/Sabre/VObject/ParameterTest.php
index 0a930db..936a082 100644
--- a/tests/Sabre/VObject/ParameterTest.php
+++ b/tests/Sabre/VObject/ParameterTest.php
@@ -103,7 +103,8 @@ class ParameterTest extends \PHPUnit_Framework_TestCase {
function testSerializeSemiColon() {
- $param = new Parameter('name','va;lue');
+ $cal = new Component\VCalendar();
+ $param = new Parameter($cal, 'name','va;lue');
$this->assertEquals('NAME="va;lue"',$param->serialize());
}
--
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