summaryrefslogtreecommitdiff
path: root/test/ReadabilityTest.php
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2019-07-15 23:21:09 +0100
committerAndres Rey <[email protected]>2019-07-15 23:21:09 +0100
commit23b776a0bfa4d324028d24ffd61206b77057c053 (patch)
treeeafa7d0ffdbe2a689518fdd25daa331ab0561e33 /test/ReadabilityTest.php
parent209919fbbb31c97b09c4d2b04e7b3b2204b3d3a6 (diff)
Add test case
Diffstat (limited to 'test/ReadabilityTest.php')
-rw-r--r--test/ReadabilityTest.php2
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.');
}