Fix more expected validation messages

This commit is contained in:
dotasek 2023-12-19 12:07:48 -05:00
parent 0e50724ae7
commit 81949ebcd2
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public class ValidationMessageSuppressingInterceptorTest extends BaseResourcePro
assertHasWarnings(oo);
String encode = encode(oo);
ourLog.info(encode);
assertThat(encode, containsString("All observations should have a performer"));
assertThat(encode, containsString("In general, all observations should have a performer"));
}
@Test

View File

@ -2160,7 +2160,7 @@ public class ResourceProviderR4Test extends BaseResourceProviderR4Test {
String respString = IOUtils.toString(resp.getEntity().getContent(), Charsets.UTF_8);
ourLog.debug(respString);
assertEquals(200, resp.getStatusLine().getStatusCode());
assertThat(respString, containsString("Profile reference 'http://foo/structuredefinition/myprofile' has not been checked because it is unknown"));
assertThat(respString, containsString("Profile reference 'http://foo/structuredefinition/myprofile' has not been checked because it could not be found"));
}
}