Fix tests

This commit is contained in:
James 2016-08-23 06:52:47 -04:00
parent 1eb4dd06be
commit db17342149
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class AuthorizationInterceptorResourceProviderDstu3Test extends BaseResou
final IdType id2; final IdType id2;
try { try {
assertEquals(201, response.getStatusLine().getStatusCode()); assertEquals(201, response.getStatusLine().getStatusCode());
String newIdString = response.getFirstHeader(Constants.HEADER_LOCATION_LC).getValue(); String newIdString = response.getFirstHeader(Constants.HEADER_CONTENT_LOCATION_LC).getValue();
assertThat(newIdString, startsWith(ourServerBase + "/Patient/")); assertThat(newIdString, startsWith(ourServerBase + "/Patient/"));
id2 = new IdType(newIdString); id2 = new IdType(newIdString);
} finally { } finally {