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