Skip to content

Commit

Permalink
SORMAS-Foundation#10390 Fixed changed method signatures of PersonFacade
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKock committed Sep 20, 2022
1 parent 7dcfb79 commit 73ef5ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void testGetPersonForJournal() {
contact1.setFollowUpUntil(DateHelper.subtractDays(now, 20));
contact2.setFollowUpUntil(DateHelper.subtractDays(now, 8));

getPersonFacade().savePerson(person);
getPersonFacade().save(person);
getContactFacade().save(contact1);
getContactFacade().save(contact2);

Expand Down Expand Up @@ -167,7 +167,7 @@ public void testSetSymptomJournalStatus() {
loginWith(externalVisitsUser);
getPersonFacade().setSymptomJournalStatus(person.getUuid(), SymptomJournalStatus.REGISTERED);

PersonDto updatedPerson = getPersonFacade().getPersonByUuid(person.getUuid());
PersonDto updatedPerson = getPersonFacade().getByUuid(person.getUuid());

assertEquals(SymptomJournalStatus.REGISTERED, updatedPerson.getSymptomJournalStatus());
}
Expand Down

0 comments on commit 73ef5ba

Please sign in to comment.