Fix broken test
This commit is contained in:
parent
00636276d3
commit
ce840ecb6e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue