Reset DSTU2 test

This commit is contained in:
Tadgh 2021-03-01 14:58:50 -05:00
parent 11b413ee9b
commit 713a526ae3
1 changed files with 1 additions and 2 deletions

View File

@ -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();
}