mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-18 02:45:07 +00:00
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…
x
Reference in New Issue
Block a user