the test for head operation is not needed anymore in the
unsupportedhttpmethods
This commit is contained in:
parent
3a3d503772
commit
65a54bfe29
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue