Skip to content

Commit

Permalink
Fixing style errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
stickler-ci committed Jun 2, 2018
1 parent 9cddc7e commit 6265846
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/TestCase/Utility/XmlTest.php
Expand Up @@ -267,15 +267,15 @@ public function testLoadHtml()

$xml = Xml::loadHtml($html);
$this->assertTrue(isset($xml->body->p), 'Paragraph present');
$this->assertEquals($paragraph, (string) $xml->body->p);
$this->assertEquals($paragraph, (string)$xml->body->p);
$this->assertTrue(isset($xml->body->blockquote), 'Blockquote present');
$this->assertEquals($blockquote, (string) $xml->body->blockquote);
$this->assertEquals($blockquote, (string)$xml->body->blockquote);

$xml = Xml::loadHtml($html, ['parseHuge' => true]);
$this->assertTrue(isset($xml->body->p), 'Paragraph present');
$this->assertEquals($paragraph, (string) $xml->body->p);
$this->assertEquals($paragraph, (string)$xml->body->p);
$this->assertTrue(isset($xml->body->blockquote), 'Blockquote present');
$this->assertEquals($blockquote, (string) $xml->body->blockquote);
$this->assertEquals($blockquote, (string)$xml->body->blockquote);
}

/**
Expand Down

0 comments on commit 6265846

Please sign in to comment.