mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-17 02:15:22 +00:00
Fix more expected validation messages
This commit is contained in:
parent
0e50724ae7
commit
81949ebcd2
@ -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
|
||||
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user