Fix for failing ActivityDefinition-referralPrimaryCareMentalHealth.json test
This commit is contained in:
parent
4aa8e08681
commit
5fba875d8b
|
@ -116,6 +116,12 @@
|
||||||
<version>${junit_jupiter_version}</version>
|
<version>${junit_jupiter_version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.hl7.fhir.testcases</groupId>
|
||||||
|
<artifactId>fhir-test-cases</artifactId>
|
||||||
|
<version>${validator_test_case_version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -14,7 +14,7 @@ class JsonParserTestCase {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void test() throws FHIRFormatError, IOException {
|
void test() throws FHIRFormatError, IOException {
|
||||||
Resource r = new JsonParser().parse(TestingUtilities.loadTestResourceStream("r3", "ActivityDefinition-referralPrimaryCareMentalHealth.json"));
|
Resource r = new JsonParser().parse(TestingUtilities.loadTestResourceStream("r3", "activitydefinition-referralprimarycarementalhealth.json"));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,9 @@ import org.apache.commons.io.IOUtils;
|
||||||
import org.hl7.fhir.utilities.TextFile;
|
import org.hl7.fhir.utilities.TextFile;
|
||||||
import org.hl7.fhir.utilities.Utilities;
|
import org.hl7.fhir.utilities.Utilities;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.*;
|
||||||
import java.io.FileInputStream;
|
import java.util.ArrayList;
|
||||||
import java.io.IOException;
|
import java.util.List;
|
||||||
import java.io.InputStream;
|
|
||||||
|
|
||||||
public class BaseTestingUtilities {
|
public class BaseTestingUtilities {
|
||||||
|
|
||||||
|
@ -87,6 +86,4 @@ public class BaseTestingUtilities {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue