Fix broken test

This commit is contained in:
James Agnew 2019-02-07 17:48:08 -05:00
parent 00636276d3
commit ce840ecb6e
1 changed files with 1 additions and 1 deletions

View File

@ -1172,7 +1172,7 @@ public class ResourceProviderR4Test extends BaseResourceProviderR4Test {
dr.getCode().setText("CODE TEXT"); dr.getCode().setText("CODE TEXT");
ourClient.create().resource(dr).execute(); 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)) { try (CloseableHttpResponse response = ourHttpClient.execute(get)) {
assertEquals(200, response.getStatusLine().getStatusCode()); assertEquals(200, response.getStatusLine().getStatusCode());
String output = IOUtils.toString(response.getEntity().getContent(), StandardCharsets.UTF_8); String output = IOUtils.toString(response.getEntity().getContent(), StandardCharsets.UTF_8);