More travis

This commit is contained in:
James Agnew 2016-01-07 11:37:33 -05:00
parent 0c8c414784
commit ca61ef2e23
1 changed files with 1 additions and 1 deletions

View File

@ -1199,7 +1199,7 @@ public class XmlParserHl7OrgDstu2Test {
Patient patient = ourCtx.newXmlParser().parseResource(Patient.class, msg); Patient patient = ourCtx.newXmlParser().parseResource(Patient.class, msg);
assertEquals(NarrativeStatus.GENERATED, patient.getText().getStatus()); assertEquals(NarrativeStatus.GENERATED, patient.getText().getStatus());
assertEquals(">John Cardinal: 444333333 <", patient.getText().getDiv().getValueAsString()); assertThat(patient.getText().getDiv().getValueAsString(), containsString(">John Cardinal: 444333333 <"));
assertEquals("PRP1660", patient.getIdentifier().get(0).getValue()); assertEquals("PRP1660", patient.getIdentifier().get(0).getValue());
String encoded = ourCtx.newXmlParser().encodeResourceToString(patient); String encoded = ourCtx.newXmlParser().encodeResourceToString(patient);