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>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hl7.fhir.testcases</groupId>
<artifactId>fhir-test-cases</artifactId>
<version>${validator_test_case_version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -14,7 +14,7 @@ class JsonParserTestCase {
@Test
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.Utilities;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
public class BaseTestingUtilities {
@ -87,6 +86,4 @@ public class BaseTestingUtilities {
}
}
}
}