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 e4443f7..c97745d 100644
--- a/test/HTMLParserTest.php
+++ b/test/HTMLParserTest.php
@@ -35,7 +35,7 @@ class HTMLParserTest extends \PHPUnit_Framework_TestCase
$expectedHTML = file_get_contents($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'expected.html');
$expectedMetadata = file_get_contents($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'expected-metadata.json');
- $pages[] = [$source, $expectedHTML, $expectedMetadata];
+ $pages[$testPage] = [$source, $expectedHTML, $expectedMetadata];
}
return $pages;