no need for input of postalAddresss.name anymore - now generated
This commit is contained in:
parent
b845671617
commit
886b621fce
@ -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