This commit is contained in:
Ken Stevens 2020-07-23 11:01:54 -04:00 committed by GitHub
parent a6fd6254db
commit 08cbac59cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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());