diff --git a/cake/tests/cases/libs/view/helpers/xml.test.php b/cake/tests/cases/libs/view/helpers/xml.test.php index 16d3e9454..260889770 100644 --- a/cake/tests/cases/libs/view/helpers/xml.test.php +++ b/cake/tests/cases/libs/view/helpers/xml.test.php @@ -111,6 +111,12 @@ class XmlHelperTest extends UnitTestCase { } function testHeader() { + $expectedDefaultEncoding = Configure::read('App.encoding'); + $attrib = array(); + $result = $this->Xml->header($attrib); + $expected = ''; + $this->assertIdentical($result, $expected); + $attrib = array( 'encoding' => 'UTF-8', 'version' => '1.1'