It is allowed to have empty candidate search params, so validator test is, ironically, invalid
This commit is contained in:
parent
7fd690f830
commit
df6f028768
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue