mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-16 18:05:19 +00:00
One more fix
This commit is contained in:
parent
437f5051e4
commit
9393fb8f4f
@ -2597,7 +2597,7 @@ public class ResourceProviderDstu2Test extends BaseResourceProviderDstu2Test {
|
|||||||
try {
|
try {
|
||||||
String responseString = IOUtils.toString(response.getEntity().getContent(), StandardCharsets.UTF_8);
|
String responseString = IOUtils.toString(response.getEntity().getContent(), StandardCharsets.UTF_8);
|
||||||
ourLog.info("Response: {}", responseString);
|
ourLog.info("Response: {}", responseString);
|
||||||
assertThat(responseString, containsString("No issues detected"));
|
assertThat(responseString, not(containsString("Resource has no id")));
|
||||||
assertEquals(200, response.getStatusLine().getStatusCode());
|
assertEquals(200, response.getStatusLine().getStatusCode());
|
||||||
} finally {
|
} finally {
|
||||||
IOUtils.closeQuietly(response);
|
IOUtils.closeQuietly(response);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user