From 56ed7fcbf0bad3d5a8aa66ca6c2134d91f1f692b Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Thu, 16 Jun 2016 08:18:36 -0400 Subject: [PATCH] Fix test --- .../ca/uhn/fhir/jaxrs/client/GenericJaxRsClientDstu3Test.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hapi-fhir-jaxrsserver-base/src/test/java/ca/uhn/fhir/jaxrs/client/GenericJaxRsClientDstu3Test.java b/hapi-fhir-jaxrsserver-base/src/test/java/ca/uhn/fhir/jaxrs/client/GenericJaxRsClientDstu3Test.java index dc9a5259345..d92eae7e6a9 100644 --- a/hapi-fhir-jaxrsserver-base/src/test/java/ca/uhn/fhir/jaxrs/client/GenericJaxRsClientDstu3Test.java +++ b/hapi-fhir-jaxrsserver-base/src/test/java/ca/uhn/fhir/jaxrs/client/GenericJaxRsClientDstu3Test.java @@ -211,7 +211,6 @@ public class GenericJaxRsClientDstu3Test { } @Test - @SuppressWarnings("deprecation") public void testConformance() throws Exception { IParser p = ourCtx.newXmlParser(); @@ -228,7 +227,7 @@ public class GenericJaxRsClientDstu3Test { //@formatter:off - Conformance resp = (Conformance)client.conformance(); + Conformance resp = (Conformance)client.fetchConformance().ofType(Conformance.class).execute(); //@formatter:on assertEquals("http://localhost:" + ourPort + "/fhir/metadata", ourRequestUri);