mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:47:32 +00:00
test(org): enahcning test for creating org with custom id (#10247)
# Which Problems Are Solved Enhancing integration test for creating org; currently the test does not check if the created org has the assigned custom id, this will resolve this issue.
This commit is contained in:
@@ -208,7 +208,9 @@ func TestServer_CreateOrganization(t *testing.T) {
|
|||||||
Name: gofakeit.AppName(),
|
Name: gofakeit.AppName(),
|
||||||
Id: gu.Ptr("custom_id"),
|
Id: gu.Ptr("custom_id"),
|
||||||
},
|
},
|
||||||
want: &v2beta_org.CreateOrganizationResponse{},
|
want: &v2beta_org.CreateOrganizationResponse{
|
||||||
|
Id: "custom_id",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
|
Reference in New Issue
Block a user