Fix build
This commit is contained in:
parent
f45ad117fe
commit
820d1e0165
|
@ -33,11 +33,11 @@ import ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException;
|
|||
import ca.uhn.fhir.rest.server.servlet.ServletRequestDetails;
|
||||
import ca.uhn.fhir.util.TestUtil;
|
||||
|
||||
public class FhirResourceDaoTerminologyDstu3Test extends BaseJpaDstu3Test {
|
||||
public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
|
||||
|
||||
private static final String URL_MY_VALUE_SET = "http://example.com/my_value_set";
|
||||
private static final String URL_MY_CODE_SYSTEM = "http://example.com/my_code_system";
|
||||
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(FhirResourceDaoTerminologyDstu3Test.class);
|
||||
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(FhirResourceDaoDstu3TerminologyTest.class);
|
||||
|
||||
@AfterClass
|
||||
public static void afterClassClearContext() {
|
|
@ -29,9 +29,9 @@ import ca.uhn.fhir.jpa.dao.IFhirResourceDaoValueSet.ValidateCodeResult;
|
|||
import ca.uhn.fhir.rest.server.servlet.ServletRequestDetails;
|
||||
import ca.uhn.fhir.util.TestUtil;
|
||||
|
||||
public class FhirResourceDaoValueSetDstu3Test extends BaseJpaDstu3Test {
|
||||
public class FhirResourceDaoDstu3ValueSetTest extends BaseJpaDstu3Test {
|
||||
|
||||
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(FhirResourceDaoValueSetDstu3Test.class);
|
||||
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(FhirResourceDaoDstu3ValueSetTest.class);
|
||||
|
||||
private IIdType myExtensionalVsId;
|
||||
|
|
@ -112,7 +112,7 @@ public class ValidateDstu2Test {
|
|||
Parameters params = new Parameters();
|
||||
params.addParameter().setName("resource").setResource(patient);
|
||||
params.addParameter().setName("profile").setValue(new StringDt("http://foo"));
|
||||
params.addParameter().setName("mode").setValue(new StringDt(ValidationModeEnum.CREATE.name()));
|
||||
params.addParameter().setName("mode").setValue(new StringDt(ValidationModeEnum.CREATE.getCode()));
|
||||
|
||||
HttpPost httpPost = new HttpPost("http://localhost:" + ourPort + "/Patient/$validate");
|
||||
httpPost.setEntity(new StringEntity(ourCtx.newXmlParser().encodeResourceToString(params), ContentType.create(Constants.CT_FHIR_XML, "UTF-8")));
|
||||
|
|
Loading…
Reference in New Issue