diff options
author | Andres Rey <[email protected]> | 2017-11-09 19:38:30 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2017-11-09 19:38:30 +0000 |
commit | 13bda4ba14368589b65ddac75a3c85ad359e5d1a (patch) | |
tree | ef4d9d2d1891fa11f328dc8d426a789cc0c635bd /test | |
parent | 422081a1003d3b5b668ddf7fb513a26f09b71b46 (diff) |
Merge config instead of overwritting it during unit testing
Diffstat (limited to 'test')
-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..c54dce8 100644 --- a/test/HTMLParserTest.php +++ b/test/HTMLParserTest.php @@ -17,7 +17,7 @@ class HTMLParserTest extends \PHPUnit_Framework_TestCase ]; if ($config) { - $options = $config; + array_merge($options, $config); } $readability = new HTMLParser($options); |