the test for head operation is not needed anymore in the

unsupportedhttpmethods
This commit is contained in:
Corina Dalaban 2018-08-07 16:43:41 +03:00 committed by James Agnew
parent 3a3d503772
commit 65a54bfe29
1 changed files with 0 additions and 13 deletions

View File

@ -54,19 +54,6 @@ public class BanUnsupprtedHttpMethodsInterceptorDstu3Test {
IOUtils.closeQuietly(status.getEntity().getContent());
}
}
@Test
public void testHeadJson() throws Exception {
HttpHead httpGet = new HttpHead("http://localhost:" + ourPort + "/Patient/123");
HttpResponse status = ourClient.execute(httpGet);
assertEquals(null, status.getEntity());
ourLog.info(status.toString());
assertEquals(400, status.getStatusLine().getStatusCode());
assertThat(status.getFirstHeader("x-powered-by").getValue(), containsString("HAPI"));
}
@Test
public void testHttpTrackNotEnabled() throws Exception {