fix formatting of connector/github/github_test.go
This commit is contained in:
parent
1911b52c6b
commit
5822a5ce9e
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Reference in a new issue