From 4a5b62616cb59d6414b2c5e5180e1d81fed6df08 Mon Sep 17 00:00:00 2001 From: Kevin Hartmann Date: Tue, 27 Apr 2021 15:01:03 -0400 Subject: [PATCH] Improved assertions for testBulkDataExport() --- .../rest/server/ServerCapabilityStatementProviderR4Test.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hapi-fhir-validation/src/test/java/ca/uhn/fhir/rest/server/ServerCapabilityStatementProviderR4Test.java b/hapi-fhir-validation/src/test/java/ca/uhn/fhir/rest/server/ServerCapabilityStatementProviderR4Test.java index 9f789227954..ca366cab38a 100644 --- a/hapi-fhir-validation/src/test/java/ca/uhn/fhir/rest/server/ServerCapabilityStatementProviderR4Test.java +++ b/hapi-fhir-validation/src/test/java/ca/uhn/fhir/rest/server/ServerCapabilityStatementProviderR4Test.java @@ -1289,6 +1289,8 @@ public class ServerCapabilityStatementProviderR4Test { CapabilityStatementRestResourceComponent groupResource = resources.stream() .filter(resource -> "Group".equals(resource.getType())) .findFirst().get(); + + assertThat(toOperationNames(groupResource.getOperation()),containsInAnyOrder("export", "export-poll-status")); } private List toOperationIdParts(List theOperation) {