Permalink
Browse files

Fix Text_Wiki_Render_Test::testFormatConfShouldReturnSprinfFormatedVa…

…lue array to string conversion under PHP 5.4
  • Loading branch information...
1 parent 76c7654 commit 0534e9da5bfad80b33f405cdf6fad4327e1467b0 @CloCkWeRX CloCkWeRX committed Jan 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/Text_Wiki_Render_Test.php
View
2 tests/Text_Wiki_Render_Test.php
@@ -65,7 +65,7 @@ public function testFormatConfShouldReturnSprinfFormatedValue()
{
$this->obj->conf = $this->conf;
foreach ($this->conf as $key => $value) {
- $this->assertEquals(" class=\"$value\"", $this->obj->formatConf(' class="%s"', $key));
+ $this->assertEquals(" class=\"$value\"", (string)$this->obj->formatConf(' class="%s"', $key));
}
}

0 comments on commit 0534e9d

Please sign in to comment.