feature/add-scenario-test-for-deceased-partner-with-community-of-heirs #137
@ -25,7 +25,7 @@ public class ReplaceDeceasedPartnerWithCommunityOfHeirs extends UseCase<ReplaceD
|
||||
"Even in production data we expect this query to return just a single result." // TODO.impl: add constraint?
|
||||
);
|
||||
|
||||
obtain("Partner: deceased", () ->
|
||||
obtain("Partner: %{partnerNumber}", () ->
|
||||
httpGet("/api/hs/office/partners/%{partnerNumber}")
|
||||
.expecting(OK).expecting(JSON),
|
||||
response -> response.getFromBody("uuid"),
|
||||
@ -49,6 +49,7 @@ public class ReplaceDeceasedPartnerWithCommunityOfHeirs extends UseCase<ReplaceD
|
||||
{
|
||||
"caption": "Erbengemeinschaft %{nameOfDeceasedPerson}",
|
||||
"postalAddress": {
|
||||
"name": "Erbengemeinschaft %{nameOfDeceasedPerson}",
|
||||
%{communityOfHeirsPostalAddress}
|
||||
},
|
||||
"phoneNumbers": {
|
||||
|
Loading…
Reference in New Issue
Block a user