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?
|
"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}")
|
httpGet("/api/hs/office/partners/%{partnerNumber}")
|
||||||
.expecting(OK).expecting(JSON),
|
.expecting(OK).expecting(JSON),
|
||||||
response -> response.getFromBody("uuid"),
|
response -> response.getFromBody("uuid"),
|
||||||
@ -49,6 +49,7 @@ public class ReplaceDeceasedPartnerWithCommunityOfHeirs extends UseCase<ReplaceD
|
|||||||
{
|
{
|
||||||
"caption": "Erbengemeinschaft %{nameOfDeceasedPerson}",
|
"caption": "Erbengemeinschaft %{nameOfDeceasedPerson}",
|
||||||
"postalAddress": {
|
"postalAddress": {
|
||||||
|
"name": "Erbengemeinschaft %{nameOfDeceasedPerson}",
|
||||||
%{communityOfHeirsPostalAddress}
|
%{communityOfHeirsPostalAddress}
|
||||||
},
|
},
|
||||||
"phoneNumbers": {
|
"phoneNumbers": {
|
||||||
|
Loading…
Reference in New Issue
Block a user