fix tests (#1993)
This commit is contained in:
parent
a6fd6254db
commit
08cbac59cc
|
@ -143,7 +143,7 @@ public class EmpiMatchLinkSvcMultipleEidModeTest extends BaseEmpiR4Test {
|
|||
patient2 = createPatientAndUpdateLinks(patient2);
|
||||
assertLinksMatchResult(MATCH, MATCH, POSSIBLE_DUPLICATE);
|
||||
assertLinksNewPerson(true, true, false);
|
||||
assertLinksMatchedByEid(false, false, false);
|
||||
assertLinksMatchedByEid(false, false, true);
|
||||
|
||||
List<EmpiLink> possibleDuplicates = myEmpiLinkDaoSvc.getPossibleDuplicates();
|
||||
assertThat(possibleDuplicates, hasSize(1));
|
||||
|
|
|
@ -387,7 +387,7 @@ public class EmpiMatchLinkSvcTest extends BaseEmpiR4Test {
|
|||
|
||||
IBundleProvider bundle = myPersonDao.search(new SearchParameterMap());
|
||||
assertEquals(1, bundle.size());
|
||||
Person person = (Person) bundle.getResources(0, 0);
|
||||
Person person = (Person) bundle.getResources(0, 1).get(0);
|
||||
assertEquals(Person.IdentityAssuranceLevel.LEVEL2, person.getLink().get(0).getAssurance());
|
||||
assertEquals(Person.IdentityAssuranceLevel.LEVEL1, person.getLink().get(1).getAssurance());
|
||||
assertEquals(Person.IdentityAssuranceLevel.LEVEL1, person.getLink().get(2).getAssurance());
|
||||
|
|
Loading…
Reference in New Issue