It is allowed to have empty candidate search params, so validator test is, ironically, invalid

This commit is contained in:
Tadgh 2020-07-24 11:52:32 -07:00
parent 7fd690f830
commit df6f028768
1 changed files with 0 additions and 10 deletions

View File

@ -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 {