From cf4db170804d6c6557b296a4baa9acb90538817b Mon Sep 17 00:00:00 2001 From: Steven Date: Sat, 13 Apr 2024 10:53:39 +0800 Subject: [PATCH] chore: fix linter --- plugin/idp/oauth2/oauth2_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/idp/oauth2/oauth2_test.go b/plugin/idp/oauth2/oauth2_test.go index 35b8077e90d80..6c07fea943208 100644 --- a/plugin/idp/oauth2/oauth2_test.go +++ b/plugin/idp/oauth2/oauth2_test.go @@ -113,7 +113,7 @@ func TestIdentityProvider(t *testing.T) { ctx := context.Background() const ( - testClientId = "test-client-id" + testClientID = "test-client-id" testCode = "test-code" testAccessToken = "test-access-token" testSubject = "123456789" @@ -133,7 +133,7 @@ func TestIdentityProvider(t *testing.T) { oauth2, err := NewIdentityProvider( &storepb.OAuth2Config{ - ClientId: testClientId, + ClientId: testClientID, ClientSecret: "test-client-secret", TokenUrl: fmt.Sprintf("%s/oauth2/token", s.URL), UserInfoUrl: fmt.Sprintf("%s/oauth2/userinfo", s.URL),