From d5d6d37a25781277b1c8a32865f8c265cca4d608 Mon Sep 17 00:00:00 2001 From: Iraq <66622793+kkrime@users.noreply.github.com> Date: Mon, 14 Jul 2025 18:43:50 +0200 Subject: [PATCH] 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. --- internal/api/grpc/org/v2beta/integration_test/org_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/api/grpc/org/v2beta/integration_test/org_test.go b/internal/api/grpc/org/v2beta/integration_test/org_test.go index d36c570b92..2f141ccbd3 100644 --- a/internal/api/grpc/org/v2beta/integration_test/org_test.go +++ b/internal/api/grpc/org/v2beta/integration_test/org_test.go @@ -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 {