Added itemref support and test

The test also tests "src based tags" as can be seen in dataset name
This commit is contained in:
Yusuf Kandemir
2018-11-12 19:11:52 +03:00
parent e17ceac9ea
commit a5bfeb5ec5
4 changed files with 51 additions and 1 deletions

View File

@ -67,6 +67,9 @@ class MicrodataParserTest extends \PHPUnit\Framework\TestCase
'W3C Example' => [
$this->getTestData('W3C', 'source.html', 'result.json')
],
'Itemref & src based tags' => [
$this->getTestData('Itemref', 'source.html', 'result.json')
],
];
}