From 71c4d38631eeaaf07eea6a4718d0a46f636da1da Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Thu, 9 Nov 2017 19:39:51 +0000 Subject: Merge config instead of overwritting it during unit testing --- test/HTMLParserTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/HTMLParserTest.php') 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); -- cgit v1.2.3