From 73ef5bac7d78b1ef93d7cc8960a4b731f5abb649 Mon Sep 17 00:00:00 2001 From: Stefan Kock Date: Tue, 20 Sep 2022 12:20:08 +0200 Subject: [PATCH] #10390 Fixed changed method signatures of PersonFacade --- .../de/symeda/sormas/backend/visit/ExternalVisitTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sormas-backend/src/test/java/de/symeda/sormas/backend/visit/ExternalVisitTest.java b/sormas-backend/src/test/java/de/symeda/sormas/backend/visit/ExternalVisitTest.java index 988c3bd781d..228b2ea6630 100644 --- a/sormas-backend/src/test/java/de/symeda/sormas/backend/visit/ExternalVisitTest.java +++ b/sormas-backend/src/test/java/de/symeda/sormas/backend/visit/ExternalVisitTest.java @@ -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); @@ -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()); }