fixing initial memberhip number suffix
This commit is contained in:
parent
4fb0a270da
commit
385c2c0b75
@ -321,7 +321,6 @@ class HsOfficeScenarioTests extends ScenarioTest {
|
||||
void shouldCreateMembershipForPartner() {
|
||||
new CreateMembership(this)
|
||||
.given("partnerName", "Test AG")
|
||||
.given("memberNumberSuffix", "00") // FIXME: move into CreateMembership
|
||||
.given("validFrom", "2024-10-15")
|
||||
.given("newStatus", "ACTIVE")
|
||||
.given("membershipFeeBillable", "true")
|
||||
|
@ -27,7 +27,7 @@ public class CreateMembership extends UseCase<CreateMembership> {
|
||||
return httpPost("/api/hs/office/memberships", usingJsonBody("""
|
||||
{
|
||||
"partner.uuid": ${Partner: %{partnerName}},
|
||||
"memberNumberSuffix": ${memberNumberSuffix},
|
||||
"memberNumberSuffix": ${%{memberNumberSuffix???}???00},
|
||||
"status": "ACTIVE",
|
||||
"validFrom": ${validFrom},
|
||||
"membershipFeeBillable": ${membershipFeeBillable}
|
||||
|
Loading…
Reference in New Issue
Block a user