Fix tests in class

This commit is contained in:
Tadgh 2021-08-19 15:19:31 -04:00
parent 77c99e47c1
commit 101e0d7288
1 changed files with 2 additions and 2 deletions

View File

@ -614,8 +614,8 @@ public class FhirInstanceValidatorR5Test {
List<SingleValidationMessage> messages = logResultsAndReturnNonInformationalOnes(output); List<SingleValidationMessage> messages = logResultsAndReturnNonInformationalOnes(output);
assertEquals( 3, messages.size(), output.toString()); assertEquals( 3, messages.size(), output.toString());
assertThat(messages.get(0).getMessage(), containsString("Element must have some content")); assertThat(messages.get(0).getMessage(), containsString("Element must have some content"));
assertThat(messages.get(1).getMessage(), containsString("Primitive types must have a value or must have child extensions")); assertThat(messages.get(1).getMessage(), containsString("ele-1: 'All FHIR elements must have a @value or children' Rule 'All FHIR elements must have a @value or children' Failed"));
assertThat(messages.get(2).getMessage(), containsString("ele-1: 'All FHIR elements must have a @value or children' Rule 'All FHIR elements must have a @value or children' Failed")); assertThat(messages.get(2).getMessage(), containsString("Primitive types must have a value or must have child extensions"));
} }
@Test @Test