Fix tests in class
This commit is contained in:
parent
77c99e47c1
commit
101e0d7288
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue