Fix for failing ActivityDefinition-referralPrimaryCareMentalHealth.json test

This commit is contained in:
markiantorno 2020-08-10 21:57:55 -04:00
parent 4aa8e08681
commit 5fba875d8b
3 changed files with 10 additions and 7 deletions

View File

@ -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>

View File

@ -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"));
} }
} }

View File

@ -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 {
} }
} }
} }
} }