Commit cf4db170 authored by Steven's avatar Steven

chore: fix linter

parent c373131b
...@@ -113,7 +113,7 @@ func TestIdentityProvider(t *testing.T) { ...@@ -113,7 +113,7 @@ func TestIdentityProvider(t *testing.T) {
ctx := context.Background() ctx := context.Background()
const ( const (
testClientId = "test-client-id" testClientID = "test-client-id"
testCode = "test-code" testCode = "test-code"
testAccessToken = "test-access-token" testAccessToken = "test-access-token"
testSubject = "123456789" testSubject = "123456789"
...@@ -133,7 +133,7 @@ func TestIdentityProvider(t *testing.T) { ...@@ -133,7 +133,7 @@ func TestIdentityProvider(t *testing.T) {
oauth2, err := NewIdentityProvider( oauth2, err := NewIdentityProvider(
&storepb.OAuth2Config{ &storepb.OAuth2Config{
ClientId: testClientId, ClientId: testClientID,
ClientSecret: "test-client-secret", ClientSecret: "test-client-secret",
TokenUrl: fmt.Sprintf("%s/oauth2/token", s.URL), TokenUrl: fmt.Sprintf("%s/oauth2/token", s.URL),
UserInfoUrl: fmt.Sprintf("%s/oauth2/userinfo", s.URL), UserInfoUrl: fmt.Sprintf("%s/oauth2/userinfo", s.URL),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment