Fix go lint

This commit is contained in:
princemelvin 2021-05-06 15:12:40 +05:30
parent 4d1a50bdba
commit 1d486e4e33
1 changed files with 3 additions and 3 deletions

View File

@ -446,13 +446,13 @@ func TestOIDCProvider_EnrichSession(t *testing.T) {
}
for testName, tc := range testCases {
t.Run(testName, func(t *testing.T) {
profileJson, err := json.Marshal(tc.ProfileJSON)
profileJSON, err := json.Marshal(tc.ProfileJSON)
assert.NoError(t, err)
introspectJson, err := json.Marshal(tc.IntrospectJSON)
introspectJSON, err := json.Marshal(tc.IntrospectJSON)
assert.NoError(t, err)
server, provider := newTestOIDCSetup([]byte(`{}`), profileJson, introspectJson)
server, provider := newTestOIDCSetup([]byte(`{}`), profileJSON, introspectJSON)
provider.ProfileURL, err = url.Parse(server.URL)
assert.NoError(t, err)