summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2017-02-19 19:09:58 +0000
committerAndres Rey <[email protected]>2017-02-19 19:09:58 +0000
commit61e1811c2f94872a7708107ce05d2f613f701b72 (patch)
tree94de7524ff9e8a6fbc2288221f637fa6c6f9112e
parentae573a6fe5d369c014b427b813fdc0bdfc20de54 (diff)
Added the fixRelativeURLs flag to true for Unit Testing
-rw-r--r--test/HTMLParserTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/HTMLParserTest.php b/test/HTMLParserTest.php
index d800805..e4443f7 100644
--- a/test/HTMLParserTest.php
+++ b/test/HTMLParserTest.php
@@ -13,6 +13,7 @@ class HTMLParserTest extends \PHPUnit_Framework_TestCase
{
$readability = new HTMLParser([
'originalURL' => 'http://fakehost/test/test.html',
+ 'fixRelativeURLs' => true
]);
$result = $readability->parse($html);