the test for head operation is not needed anymore in the
unsupportedhttpmethods
@@ -55,19 +55,6 @@ public class BanUnsupprtedHttpMethodsInterceptorDstu3Test {
}
}
- @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 {
HttpRequestBase req = new HttpRequestBase() {
