feature/add-scenario-test-for-deceased-partner-with-community-of-heirs #137

Merged
2 changed files with 16 additions and 8 deletions
Showing only changes of commit b845671617 - Show all commits

View File

@ -93,6 +93,8 @@ class HsOfficeScenarioTests extends ScenarioTest {
""")
.given("officePhoneNumber", "+49 40 654321-0")
.given("emailAddress", "hamburg@test-ag.example.org")
.given("registrationOffice", "Registergericht Hamburg")
.given("registrationNumber", "1234567")
.doRun()
.keep();
}
@ -118,6 +120,9 @@ class HsOfficeScenarioTests extends ScenarioTest {
""")
.given("officePhoneNumber", "+49 40 123456")
.given("emailAddress", "michelle.matthieu@example.org")
.given("birthday", "1951-03-25")
.given("birthPlace", "Neustadt a.d.R.")
.given("birthName", "Eichbaum")
.doRun()
.keep();
}
@ -601,10 +606,10 @@ class HsOfficeScenarioTests extends ScenarioTest {
.given("partnerNumber", "P-31011")
.given("nameOfDeceasedPerson", "Michelle Matthieu") // FIXME: redundant
.given(
// "name": "Erbengemeinschaft Michelle Matthieu", // FIXME: automatic?
"communityOfHeirsPostalAddress", """
"name": "Erbengemeinschaft Michelle Matthieu", // FIXME: automatic?
"co": "Lena Stadland",
"street": "Im Wischer",
"street": "Im Wischer 14",
"zipcode": "22987",
"city": "Hamburg",
"country": "Germany"

View File

@ -69,8 +69,11 @@ public class CreatePartner extends UseCase<CreatePartner> {
"contact.uuid": ${Contact: %{contactCaption}}
},
"details": {
"registrationOffice": "Registergericht Hamburg",
"registrationNumber": "1234567"
"birthday": ${birthday???},
"birthPlace": ${birthPlace???},
"birthName": ${birthName???},
"registrationOffice": ${registrationOffice???},
"registrationNumber": ${registrationNumber???}
}
}
"""))