diff options
author | Andres Rey <[email protected]> | 2017-11-09 19:39:51 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2017-11-09 19:39:51 +0000 |
commit | 71c4d38631eeaaf07eea6a4718d0a46f636da1da (patch) | |
tree | 355d00dedc03c483075769c988f3ee7cd2143a7f /test/HTMLParserTest.php | |
parent | 13bda4ba14368589b65ddac75a3c85ad359e5d1a (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 c54dce8..ad6d943 100644 --- a/test/HTMLParserTest.php +++ b/test/HTMLParserTest.php @@ -17,7 +17,7 @@ class HTMLParserTest extends \PHPUnit_Framework_TestCase ]; if ($config) { - array_merge($options, $config); + $options = array_merge($options, $config); } $readability = new HTMLParser($options); |