Fixing XmlTest to be compatible with PHPUnit

This commit is contained in:
José Lorenzo Rodríguez 2010-05-09 18:18:40 -04:30
parent 508d707a7a
commit bc9479efcf

View file

@ -1340,7 +1340,6 @@ class XmlTest extends CakeTestCase {
$parentNode->append($string); $parentNode->append($string);
$last =& $parentNode->last(); $last =& $parentNode->last();
$this->assertEqual($last->name, 'ourChildNode'); $this->assertEqual($last->name, 'ourChildNode');
$this->expectError(); $this->expectError();
$parentNode->append($parentNode); $parentNode->append($parentNode);
} }