Support new document loader API.
This commit is contained in:
parent
cf815ece8a
commit
8a0eb2150e
2 changed files with 215 additions and 103 deletions
|
@ -464,7 +464,8 @@ class TestRunner {
|
|||
'@type' => 'earl:Assertion',
|
||||
'earl:assertedBy' => $earl->{'doap:developer'}->{'@id'},
|
||||
'earl:mode' => 'earl:automatic',
|
||||
'earl:test' => $idBase . $test->{'@id'},
|
||||
'earl:test' => $idBase . (property_exists($test, '@id') ?
|
||||
$test->{'@id'} : ''),
|
||||
'earl:result' => (object)array(
|
||||
'@type' => 'earl:TestResult',
|
||||
'dc:date' => gmdate(DateTime::ISO8601),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue