diff --git a/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/parser/XmlParserR4Test.java b/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/parser/XmlParserR4Test.java index 7d2eb8367c6..0a077b6953f 100644 --- a/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/parser/XmlParserR4Test.java +++ b/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/parser/XmlParserR4Test.java @@ -195,13 +195,6 @@ public class XmlParserR4Test { String encoded = ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(o); ourLog.info(encoded); - FhirContext - .forR4() - .newRestfulGenericClient("http://hapi.fhir.org/baseR4") - .create() - .resource(o) - .execute(); - assertThat(encoded, containsString("")); o = ourCtx.newXmlParser().parseResource(Observation.class, encoded);