fixed the AuthorizationInterceptorR4Test return code based on fhir doc
This commit is contained in:
parent
b182d4eca6
commit
62c7c0fa55
|
@ -1647,7 +1647,7 @@ public class AuthorizationInterceptorR4Test {
|
||||||
patch.setEntity(new StringEntity(patchBody, ContentType.create(Constants.CT_JSON_PATCH, Charsets.UTF_8)));
|
patch.setEntity(new StringEntity(patchBody, ContentType.create(Constants.CT_JSON_PATCH, Charsets.UTF_8)));
|
||||||
CloseableHttpResponse status = ourClient.execute(patch);
|
CloseableHttpResponse status = ourClient.execute(patch);
|
||||||
extractResponseAndClose(status);
|
extractResponseAndClose(status);
|
||||||
assertEquals(204, status.getStatusLine().getStatusCode());
|
assertEquals(200, status.getStatusLine().getStatusCode());
|
||||||
assertTrue(ourHitMethod);
|
assertTrue(ourHitMethod);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2924,7 +2924,7 @@ public class AuthorizationInterceptorR4Test {
|
||||||
httpPost.setEntity(new StringEntity(input, ContentType.parse("application/json-patch+json")));
|
httpPost.setEntity(new StringEntity(input, ContentType.parse("application/json-patch+json")));
|
||||||
status = ourClient.execute(httpPost);
|
status = ourClient.execute(httpPost);
|
||||||
extractResponseAndClose(status);
|
extractResponseAndClose(status);
|
||||||
assertEquals(204, status.getStatusLine().getStatusCode());
|
assertEquals(200, status.getStatusLine().getStatusCode());
|
||||||
assertTrue(ourHitMethod);
|
assertTrue(ourHitMethod);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue