From 61e1811c2f94872a7708107ce05d2f613f701b72 Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Sun, 19 Feb 2017 19:09:58 +0000 Subject: Added the fixRelativeURLs flag to true for Unit Testing --- test/HTMLParserTest.php | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3