Fix tests
This commit is contained in:
parent
1eb4dd06be
commit
db17342149
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue