Skip to content

Commit

Permalink
Revert "Fixing style errors."
Browse files Browse the repository at this point in the history
This reverts commit 6572d67.
  • Loading branch information
alphp committed Jun 3, 2018
1 parent 7994e40 commit cc2cef6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/TestCase/Utility/XmlTest.php
Expand Up @@ -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, '<!DOCTYPE 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, '<!DOCTYPE html>' . "\n" . $xml->asXML());
}

/**
Expand Down

0 comments on commit cc2cef6

Please sign in to comment.