Skip to content

Commit

Permalink
linterfix5
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pcyrek committed Dec 18, 2024
1 parent b1073b1 commit d2f480b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions auth_with_oauth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ func getOauthTestToken(t *testing.T, cfg *Config) (string, error) {
client := &http.Client{}

authURL, err := GetFromEnv("SNOWFLAKE_AUTH_TEST_OAUTH_URL", true)
assertEqualF(t, err, nil, "SNOWFLAKE_AUTH_TEST_OAUTH_URL is not set")
assertNilF(t, err, "SNOWFLAKE_AUTH_TEST_OAUTH_URL is not set")

oauthClientID, err := GetFromEnv("SNOWFLAKE_AUTH_TEST_OAUTH_CLIENT_ID", true)
assertEqualF(t, err, nil, "SNOWFLAKE_AUTH_TEST_OAUTH_CLIENT_ID is not set")
assertNilF(t, err, "SNOWFLAKE_AUTH_TEST_OAUTH_CLIENT_ID is not set")

oauthClientSecret, err := GetFromEnv("SNOWFLAKE_AUTH_TEST_OAUTH_CLIENT_SECRET", true)
assertEqualF(t, err, nil, "SNOWFLAKE_AUTH_TEST_OAUTH_CLIENT_SECRET is not set")
assertNilF(t, err, "SNOWFLAKE_AUTH_TEST_OAUTH_CLIENT_SECRET is not set")

inputData := formData(cfg)

Expand Down

0 comments on commit d2f480b

Please sign in to comment.