From ce840ecb6e665051b34e7ff7d50663931876e1e4 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Thu, 7 Feb 2019 17:48:08 -0500 Subject: [PATCH] Fix broken test --- .../ca/uhn/fhir/jpa/provider/r4/ResourceProviderR4Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/provider/r4/ResourceProviderR4Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/provider/r4/ResourceProviderR4Test.java index aa1628baa74..c337833f2a0 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/provider/r4/ResourceProviderR4Test.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/provider/r4/ResourceProviderR4Test.java @@ -1172,7 +1172,7 @@ public class ResourceProviderR4Test extends BaseResourceProviderR4Test { dr.getCode().setText("CODE TEXT"); ourClient.create().resource(dr).execute(); - HttpGet get = new HttpGet(ourServerBase + "/DiagnosticReport?_include=DiagnosticReport:result&_elements:exclude=DiagnosticReport&_elements=DiagnosticReport:status,Observation:value,Observation:code,Observation:subject&_pretty=true"); + HttpGet get = new HttpGet(ourServerBase + "/DiagnosticReport?_include=DiagnosticReport:result&_elements:exclude=DiagnosticReport&_elements=DiagnosticReport.status,Observation.value,Observation.code,Observation.subject&_pretty=true"); try (CloseableHttpResponse response = ourHttpClient.execute(get)) { assertEquals(200, response.getStatusLine().getStatusCode()); String output = IOUtils.toString(response.getEntity().getContent(), StandardCharsets.UTF_8);