From 79e1fd6ed2c08166c1c15716d0fe0c3ee33fba62 Mon Sep 17 00:00:00 2001 From: DarkAngelBGE Date: Tue, 13 May 2008 08:15:15 +0000 Subject: [PATCH] enabling php4 for xml helper tests git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6839 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/view/helpers/xml.test.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cake/tests/cases/libs/view/helpers/xml.test.php b/cake/tests/cases/libs/view/helpers/xml.test.php index 7830a013d..537c7ad5f 100644 --- a/cake/tests/cases/libs/view/helpers/xml.test.php +++ b/cake/tests/cases/libs/view/helpers/xml.test.php @@ -52,7 +52,7 @@ class TestXml extends Object { class XmlHelperTest extends UnitTestCase { function setUp() { - $this->Xml = new XmlHelper(); + $this->Xml =& new XmlHelper(); } function testAddNamespace() { @@ -170,13 +170,13 @@ class XmlHelperTest extends UnitTestCase { $result = $this->Xml->__composeContent($content); $this->assertError(); - $xml = new Xml(null, array()); + $xml =& new Xml(null, array()); $result = $xml->load('simple note'); $result = $this->Xml->__composeContent($xml); $expected = ''; $this->assertIdentical($result, $expected); - $xml = new TestXml('simple note'); + $xml =& new TestXml('simple note'); $result = $this->Xml->__composeContent($xml); $expected = 'simple note'; $this->assertIdentical($result, $expected);