Skip to content

Commit 4e2b947

Browse files
committed
Fix broken test case
1) Suin\RSSWriter\FeedTest::test__toString PHPUnit_Framework_Exception: Could not load XML from object /suin/Dropbox/open/php-rss-writer/tests/Suin/RSSWriter/FeedTest.php:94 Signed-off-by: Hidehito Nozawa <[email protected]>
1 parent 6007f22 commit 4e2b947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Suin/RSSWriter/FeedTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ public function test__toString()
9191
<channel><title>channel3</title></channel>
9292
</rss>
9393
';
94-
$this->assertXmlStringEqualsXmlString($expect, $feed);
94+
$this->assertXmlStringEqualsXmlString($expect, strval($feed));
9595
}
9696
}

0 commit comments

Comments
 (0)