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:
Iraq
2025-07-14 18:43:50 +02:00
committed by GitHub
parent 79fcc2f2b6
commit d5d6d37a25

View File

@@ -208,7 +208,9 @@ func TestServer_CreateOrganization(t *testing.T) {
Name: gofakeit.AppName(),
Id: gu.Ptr("custom_id"),
},
want: &v2beta_org.CreateOrganizationResponse{},
want: &v2beta_org.CreateOrganizationResponse{
Id: "custom_id",
},
},
}
for _, tt := range tests {