One more fix

This commit is contained in:
James Agnew 2018-05-10 05:36:27 -04:00
parent 437f5051e4
commit 9393fb8f4f

View File

@ -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);