diff --git a/tests/TestCase/Utility/XmlTest.php b/tests/TestCase/Utility/XmlTest.php index 7f13ab42667..6ccf2bb641a 100644 --- a/tests/TestCase/Utility/XmlTest.php +++ b/tests/TestCase/Utility/XmlTest.php @@ -270,14 +270,12 @@ public function testLoadHtml() $this->assertEquals($paragraph, (string)$xml->body->p); $this->assertTrue(isset($xml->body->blockquote), 'Blockquote present'); $this->assertEquals($blockquote, (string)$xml->body->blockquote); - $this->assertEquals($html, '' . "\n" . $xml->asXML()); $xml = Xml::loadHtml($html, ['parseHuge' => true]); $this->assertTrue(isset($xml->body->p), 'Paragraph present'); $this->assertEquals($paragraph, (string)$xml->body->p); $this->assertTrue(isset($xml->body->blockquote), 'Blockquote present'); $this->assertEquals($blockquote, (string)$xml->body->blockquote); - $this->assertEquals($html, '' . "\n" . $xml->asXML()); } /**