From 93f3158ef57d784d71418a8e6838441a73657a42 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 18 Feb 2007 06:26:04 +0000 Subject: [PATCH] Bad unit test... need to actually set the UTF-8 flag in BSXml::Parse() --- docs/UnitTest/XmlTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/UnitTest/XmlTest.php b/docs/UnitTest/XmlTest.php index c923581..ab348c4 100644 --- a/docs/UnitTest/XmlTest.php +++ b/docs/UnitTest/XmlTest.php @@ -64,7 +64,7 @@ class XmlTest extends UnitTestCase public function testUtf8Xml() { $xml = 'test: π'; - $array = BSXml::Parse($xml); + $array = BSXml::Parse($xml, true); $this->assertEqual($array['root']['utf8']['value'], 'test: π'); } } -- 2.22.5