Remove dependency on public test server in unit test

This commit is contained in:
jamesagnew 2018-12-20 06:28:01 -05:00
parent 54bb1508db
commit 6e0a9525a1
1 changed files with 0 additions and 7 deletions

View File

@ -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("<comment value=\"123&#xa;456\"/>"));
o = ourCtx.newXmlParser().parseResource(Observation.class, encoded);