testing fixes
This commit is contained in:
parent
e91d8152b2
commit
31a7793c49
|
@ -463,6 +463,7 @@ public class ResourceElement {
|
|||
}
|
||||
|
||||
public boolean has(String name) {
|
||||
loadChildren();
|
||||
for (ResourceElement e : children) {
|
||||
if (name.equals(e.name())) {
|
||||
return true;
|
||||
|
|
|
@ -38,8 +38,9 @@ public class NarrativeGeneratorTests {
|
|||
private static RenderingContext rc;
|
||||
|
||||
@BeforeAll
|
||||
public static void setUp() throws FHIRException {
|
||||
public static void setUp() throws FHIRException, IOException {
|
||||
rc = new RenderingContext(TestingUtilities.getSharedWorkerContext(), null, null, "http://hl7.org/fhir", "", null, ResourceRendererMode.END_USER, GenerationRules.VALID_RESOURCE);
|
||||
rc.setDestDir(Utilities.path("[tmp]"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue