mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
* fixing "Nesting level too deep" in PHP 5.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7249 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
73eab59ada
commit
bc82967dd1
1 changed files with 2 additions and 4 deletions
|
@ -147,11 +147,11 @@ class XmlTest extends UnitTestCase {
|
|||
$xml = new Xml();
|
||||
$node =& $xml->createElement('hello', 'world');
|
||||
$owner =& $node->document();
|
||||
$this->assertTrue($xml == $owner);
|
||||
$this->assertTrue($xml === $owner);
|
||||
|
||||
$children =& $node->children;
|
||||
$childOwner =& $children[0]->document();
|
||||
$this->assertTrue($xml == $childOwner);
|
||||
$this->assertTrue($xml === $childOwner);
|
||||
}
|
||||
/**
|
||||
* testArraySingleSerialization method
|
||||
|
@ -542,7 +542,5 @@ class XmlTest extends UnitTestCase {
|
|||
$result = $xml->toString(array('cdata' => false));
|
||||
$this->assertEqual($expects, $result);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Reference in a new issue