fix title in ShouldUpdatePersonData.verify

This commit is contained in:
Michael Hoennig 2024-11-06 10:17:30 +01:00
parent 16538e2524
commit 346912f1e6

View File

@ -39,7 +39,7 @@ public class ShouldUpdatePersonData extends UseCase<ShouldUpdatePersonData> {
@Override @Override
protected void verify() { protected void verify() {
verify( verify(
"Verify if the New Phone Number Got Added", "Verify that the Family Name Got Amended",
() -> httpGet("/api/hs/office/persons/%{personUuid}") () -> httpGet("/api/hs/office/persons/%{personUuid}")
.expecting(OK).expecting(JSON), .expecting(OK).expecting(JSON),
path("familyName").contains("%{newFamilyName}") path("familyName").contains("%{newFamilyName}")