Skip to content

Commit d36841c

Browse files
committed
Assume all HTML to originate on example.com
1 parent 8025feb commit d36841c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Mf2/MicroformatsTestSuiteTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class MicroformatsTestSuiteTest extends \PHPUnit_Framework_TestCase
99
*/
1010
public function testFromTestSuite($input, $expectedOutput)
1111
{
12-
$parser = new \Mf2\Parser($input);
12+
$parser = new \Mf2\Parser($input, 'http://example.com/');
1313
$this->assertEquals(
1414
$this->makeComparible(json_decode($expectedOutput, true)),
1515
$this->makeComparible(json_decode(json_encode($parser->parse()), true))

0 commit comments

Comments
 (0)