diff options
author | Andres Rey <[email protected]> | 2017-02-22 12:05:10 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2017-02-22 12:05:10 +0000 |
commit | e89a99dfbbc1c71363f8264e2b9ab6e1ec52dc48 (patch) | |
tree | bff23200aeaf174142425bc0b593c5a9dc62ccbb /test/HTMLParserTest.php | |
parent | 0f99c53420f05187dc3af9fe04f1129e14dfe96e (diff) |
Added name data sets because it was driving me crazy to search for "dataset #XX" after each failed test. PROTIP: READ THE DOCS, PEOPLE
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 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; |