From 713a526ae3e61ebe095fa1102591760ac0e9b9d9 Mon Sep 17 00:00:00 2001 From: Tadgh Date: Mon, 1 Mar 2021 14:58:50 -0500 Subject: [PATCH] Reset DSTU2 test --- .../ca/uhn/fhir/rest/server/ServerMimetypeDstu2_1Test.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hapi-fhir-structures-dstu2.1/src/test/java/ca/uhn/fhir/rest/server/ServerMimetypeDstu2_1Test.java b/hapi-fhir-structures-dstu2.1/src/test/java/ca/uhn/fhir/rest/server/ServerMimetypeDstu2_1Test.java index cc43d3e631d..d05ff004a33 100644 --- a/hapi-fhir-structures-dstu2.1/src/test/java/ca/uhn/fhir/rest/server/ServerMimetypeDstu2_1Test.java +++ b/hapi-fhir-structures-dstu2.1/src/test/java/ca/uhn/fhir/rest/server/ServerMimetypeDstu2_1Test.java @@ -47,7 +47,6 @@ import java.util.concurrent.TimeUnit; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.contains; import static org.hamcrest.Matchers.containsString; -import static org.hamcrest.Matchers.hasItems; import static org.hamcrest.Matchers.not; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -68,7 +67,7 @@ public class ServerMimetypeDstu2_1Test { ourLog.info(content); Conformance conf = ourCtx.newXmlParser().parseResource(Conformance.class, content); List strings = toStrings(conf.getFormat()); - assertThat(strings, hasItems(Constants.CT_FHIR_XML_NEW, Constants.CT_FHIR_JSON_NEW, Constants.FORMAT_XML, Constants.FORMAT_JSON)); + assertThat(strings, contains(Constants.CT_FHIR_XML, Constants.CT_FHIR_JSON)); } finally { status.close(); }