From df6f028768f526b248bdcc142e69fbea1efd201c Mon Sep 17 00:00:00 2001 From: Tadgh Date: Fri, 24 Jul 2020 11:52:32 -0700 Subject: [PATCH] It is allowed to have empty candidate search params, so validator test is, ironically, invalid --- .../fhir/empi/rules/config/EmpiRuleValidatorTest.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/hapi-fhir-server-empi/src/test/java/ca/uhn/fhir/empi/rules/config/EmpiRuleValidatorTest.java b/hapi-fhir-server-empi/src/test/java/ca/uhn/fhir/empi/rules/config/EmpiRuleValidatorTest.java index e9fe675c3f2..b2766a6f70b 100644 --- a/hapi-fhir-server-empi/src/test/java/ca/uhn/fhir/empi/rules/config/EmpiRuleValidatorTest.java +++ b/hapi-fhir-server-empi/src/test/java/ca/uhn/fhir/empi/rules/config/EmpiRuleValidatorTest.java @@ -76,16 +76,6 @@ public class EmpiRuleValidatorTest extends BaseR4Test { } } - @Test - public void testMatcherEmptyCandidateSearchParams() throws IOException { - try { - setEmpiRuleJson("bad-rules-missing-candidate-search-params.json"); - fail(); - } catch (ConfigurationException e) { - assertThat(e.getMessage(), startsWith("Error in candidateSearchParams: Patient does not have a search parameter called 'foo'")); - } - } - @Test public void testMatcherBadFilter() throws IOException { try {