Skip to content

Commit 379dbb1

Browse files
committed
fix(ci): Reduce tls errors because suffix seems to vary based on OS?
1 parent b757513 commit 379dbb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auth_providers/auth_oauth_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func TestCommandConfigOauth_Authenticate(t *testing.T) {
173173

174174
// Begin test case
175175
noParamsConfig = &auth_providers.CommandConfigOauth{}
176-
httpsFailEnvExpected := []string{"tls: failed to verify certificate", "certificate is not trusted"}
176+
httpsFailEnvExpected := []string{"tls: failed to verify certificate"}
177177
authOauthTest(
178178
t,
179179
fmt.Sprintf("w/o env %s", auth_providers.EnvKeyfactorCACert),
@@ -302,7 +302,7 @@ func TestCommandConfigOauth_Authenticate(t *testing.T) {
302302
httpsFailConfigFile := &auth_providers.CommandConfigOauth{}
303303
httpsFailConfigFile.
304304
WithConfigProfile("oauth")
305-
httpsFailConfigFileExpected := []string{"tls: failed to verify certificate", "certificate is not trusted"}
305+
httpsFailConfigFileExpected := []string{"tls: failed to verify certificate"}
306306
authOauthTest(
307307
t, "oAuth with valid implicit config file https fail", true, httpsFailConfigFile,
308308
httpsFailConfigFileExpected...,

0 commit comments

Comments
 (0)