fix formatting of connector/github/github_test.go

This commit is contained in:
James Nord 2019-02-01 11:47:45 +00:00
parent 1911b52c6b
commit 5822a5ce9e

View file

@ -167,11 +167,10 @@ func TestUsernameIncludedInFederatedIdentity(t *testing.T) {
expectEquals(t, identity.Groups, []string{"org-1"}) expectEquals(t, identity.Groups, []string{"org-1"})
} }
func TestLoginUsedAsIDWhenConfigured(t *testing.T) { func TestLoginUsedAsIDWhenConfigured(t *testing.T) {
s := newTestServer(map[string]testResponse{ s := newTestServer(map[string]testResponse{
"/user": {data: user{Login: "some-login", ID: 12345678, Name:"Joe Bloggs"}}, "/user": {data: user{Login: "some-login", ID: 12345678, Name: "Joe Bloggs"}},
"/user/emails": {data: []userEmail{{ "/user/emails": {data: []userEmail{{
Email: "some@email.com", Email: "some@email.com",
Verified: true, Verified: true,