Reset DSTU2 test
@@ -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<String> 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();
}
