diff options
author | Andres Rey <[email protected]> | 2017-11-09 19:38:30 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2017-11-11 16:33:56 +0000 |
commit | 6a055b4c76c79bac5975c9204814a3e40006b98e (patch) | |
tree | 355d00dedc03c483075769c988f3ee7cd2143a7f /test/HTMLParserTest.php | |
parent | 422081a1003d3b5b668ddf7fb513a26f09b71b46 (diff) |
Merge config instead of overwritting it during unit testing
Diffstat (limited to 'test/HTMLParserTest.php')
-rw-r--r-- | test/HTMLParserTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/HTMLParserTest.php b/test/HTMLParserTest.php index d3e785a..ad6d943 100644 --- a/test/HTMLParserTest.php +++ b/test/HTMLParserTest.php @@ -17,7 +17,7 @@ class HTMLParserTest extends \PHPUnit_Framework_TestCase ]; if ($config) { - $options = $config; + $options = array_merge($options, $config); } $readability = new HTMLParser($options); |