fix failing tests

This commit is contained in:
Grahame Grieve 2022-12-13 22:17:45 +11:00
parent aa2481fcfb
commit 0cf8cbcba5
2 changed files with 2 additions and 1 deletions

View File

@ -758,7 +758,7 @@ public class SimpleWorkerContext extends BaseWorkerContext implements IWorkerCon
@Override
public String getSpecUrl() {
return VersionUtilities.getSpecUrl(getVersion());
return VersionUtilities.getSpecUrl(getVersion())+"/";
}

View File

@ -287,6 +287,7 @@ public class Narrative extends BaseNarrative implements INarrative {
protected void listChildren(List<Property> children) {
super.listChildren(children);
children.add(new Property("status", "code", "The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.", 0, 1, status));
children.add(new Property("div", "xhtml", "he actual narrative content, a stripped down version of XHTML", 0, 1, new XhtmlType(this)));
}
@Override