summaryrefslogtreecommitdiff
path: root/test/HTMLParserTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/HTMLParserTest.php')
-rw-r--r--test/HTMLParserTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/HTMLParserTest.php b/test/HTMLParserTest.php
index 2db0443..673a1d5 100644
--- a/test/HTMLParserTest.php
+++ b/test/HTMLParserTest.php
@@ -42,7 +42,7 @@ class HTMLParserTest extends \PHPUnit_Framework_TestCase
$expectedMetadata = file_get_contents($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'expected-metadata.json');
$config = file_get_contents($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'config.json');
if ($config) {
- $config = json_decode($config);
+ $config = json_decode($config, true);
}
$pages[$testPage] = [$source, $expectedHTML, $expectedMetadata, $config];