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