Remove erroneous test

This commit is contained in:
Graham, Gary 2019-01-24 17:20:29 -08:00
parent 237a508d83
commit f2fa65c5ed
1 changed files with 0 additions and 11 deletions

View File

@ -64,17 +64,6 @@ public class VersionedApiConverterInterceptorR4Test {
}
}
@Test
public void testSearchConvertSpecimenToR2() throws Exception {
HttpGet httpGet = new HttpGet("http://localhost:" + ourPort + "/Specimen");
httpGet.addHeader("Accept", "application/fhir+json; fhirVersion=1.0.2");
try (CloseableHttpResponse status = ourClient.execute(httpGet)) {
String responseContent = IOUtils.toString(status.getEntity().getContent(), StandardCharsets.UTF_8);
ourLog.info(responseContent);
assertThat(responseContent, containsString("\"family\": ["));
}
}
@Test
public void testSearchConvertToR2ByFormatParam() throws Exception {
HttpGet httpGet = new HttpGet("http://localhost:" + ourPort + "/Patient?_format=" + UrlUtil.escapeUrlParam("application/fhir+json; fhirVersion=1.0"));