Skip to content

Commit 73620ef

Browse files
Merge pull request #1140 from tharikaGitHub/master
Modify test case
2 parents 70182ea + 05c64d9 commit 73620ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

import-export-cli/integration/testutils/environment_testUtils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ func validateEndpointSecurity(t *testing.T, apiParams *Params, api *apim.API, en
330330
if strings.EqualFold(strings.ToUpper(endpointSecurityForEndpointType.Type), EndpointSecurityTypeOAuth) {
331331
// Validate Oauth 2.0 endpoint security related properties
332332
assert.Equal(t, endpointSecurityForEndpointType.ClientId, endpointSecurityForEndpointTypeInApi["clientId"])
333-
assert.Equal(t, endpointSecurityForEndpointType.ClientSecret, endpointSecurityForEndpointTypeInApi["clientSecret"])
333+
assert.Equal(t, endpointSecurityForEndpointType.ClientSecret, "")
334334
assert.Equal(t, endpointSecurityForEndpointType.TokenUrl, endpointSecurityForEndpointTypeInApi["tokenUrl"])
335335
assert.Equal(t, strings.ToUpper(endpointSecurityForEndpointType.GrantType), endpointSecurityForEndpointTypeInApi["grantType"])
336336

0 commit comments

Comments
 (0)