create distinct partner details for incorporated vs. natural person
This commit is contained in:
parent
e4e509a23a
commit
b845671617
@ -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,13 +606,13 @@ 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",
|
||||
"zipcode": "22987",
|
||||
"city": "Hamburg",
|
||||
"country": "Germany"
|
||||
"co": "Lena Stadland",
|
||||
"street": "Im Wischer 14",
|
||||
"zipcode": "22987",
|
||||
"city": "Hamburg",
|
||||
"country": "Germany"
|
||||
""")
|
||||
.given("communityOfHeirsOfficePhoneNumber", "+49 40 666666")
|
||||
.given("communityOfHeirsEmailAddress", "lena.stadland@example.org")
|
||||
|
@ -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???}
|
||||
}
|
||||
}
|
||||
"""))
|
||||
|
Loading…
Reference in New Issue
Block a user