diff options
Diffstat (limited to 'test/ReadabilityTest.php')
-rw-r--r-- | test/ReadabilityTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ReadabilityTest.php b/test/ReadabilityTest.php index ca208e8..95366bc 100644 --- a/test/ReadabilityTest.php +++ b/test/ReadabilityTest.php @@ -3,6 +3,7 @@ namespace andreskrey\Readability\Test; use andreskrey\Readability\Configuration; +use andreskrey\Readability\Nodes\DOM\DOMDocument; use andreskrey\Readability\ParseException; use andreskrey\Readability\Readability; @@ -33,6 +34,7 @@ class ReadabilityTest extends \PHPUnit\Framework\TestCase $readability = new Readability($configuration); $readability->parse($testPage->getSourceHTML()); +// $this->assertXmlStringEqualsXmlString($testPage->getExpectedHTML(), $readability->getContent()); $this->assertSame($testPage->getExpectedHTML(), $readability->getContent(), 'Parsed text does not match the expected one.'); } |