Two test fixes

This commit is contained in:
jamesagnew 2019-01-07 09:18:11 -05:00
parent bb6e392e2d
commit a8a97ae6b2
8 changed files with 14 additions and 16 deletions

View File

@ -329,8 +329,7 @@ public class AuthorizationInterceptorDstu2Test {
httpPost.setEntity(createFhirResourceEntity(input));
status = ourClient.execute(httpPost);
response = extractResponseAndClose(status);
assertEquals(403, status.getStatusLine().getStatusCode());
assertEquals(ERR403, response);
assertEquals(422, status.getStatusLine().getStatusCode());
}
@Test

View File

@ -563,8 +563,7 @@ public class AuthorizationInterceptorDstu3Test {
httpPost.setEntity(createFhirResourceEntity(input));
status = ourClient.execute(httpPost);
response = extractResponseAndClose(status);
assertEquals(403, status.getStatusLine().getStatusCode());
assertEquals(ERR403, response);
assertEquals(422, status.getStatusLine().getStatusCode());
}
@Test