diff options
author | Andres Rey <[email protected]> | 2017-02-19 19:09:58 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2017-02-19 19:09:58 +0000 |
commit | 61e1811c2f94872a7708107ce05d2f613f701b72 (patch) | |
tree | 94de7524ff9e8a6fbc2288221f637fa6c6f9112e | |
parent | ae573a6fe5d369c014b427b813fdc0bdfc20de54 (diff) |
Added the fixRelativeURLs flag to true for Unit Testing
-rw-r--r-- | test/HTMLParserTest.php | 1 |
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); |