rename useLoginAsId -> useLoginAsID

This commit is contained in:
James Nord
2019-02-04 13:53:59 +00:00
parent 5822a5ce9e
commit 9840fccdbb
3 changed files with 6 additions and 6 deletions

View File

@@ -192,7 +192,7 @@ func TestLoginUsedAsIDWhenConfigured(t *testing.T) {
req, err := http.NewRequest("GET", hostURL.String(), nil)
expectNil(t, err)
c := githubConnector{apiURL: s.URL, hostName: hostURL.Host, httpClient: newClient(), useLoginAsId: true}
c := githubConnector{apiURL: s.URL, hostName: hostURL.Host, httpClient: newClient(), useLoginAsID: true}
identity, err := c.HandleCallback(connector.Scopes{Groups: true}, req)
expectNil(t, err)