Skip to content

Commit

Permalink
Merge pull request #45 from so-ta/master
Browse files Browse the repository at this point in the history
fix test AuthCode comments
  • Loading branch information
matryer committed Jul 17, 2017
2 parents d89fbe2 + e8523bb commit 4b6c822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion providers/facebook/facebook_test.go
Expand Up @@ -61,7 +61,7 @@ func TestGetUser(t *testing.T) {
if assert.NoError(t, err) && assert.NotNil(t, user) {

assert.Equal(t, user.Name(), "their-name")
assert.Equal(t, user.AuthCode(), "") // doesn't come from github
assert.Equal(t, user.AuthCode(), "") // doesn't come from facebook
assert.Equal(t, user.Nickname(), "loginname")
assert.Equal(t, user.Email(), "email@address.com")
assert.Equal(t, user.AvatarURL(), "http://www.myface.com/")
Expand Down
2 changes: 1 addition & 1 deletion providers/github/github_test.go
Expand Up @@ -44,7 +44,7 @@ func TestGetUser(t *testing.T) {
if assert.NoError(t, err) && assert.NotNil(t, user) {

assert.Equal(t, user.Name(), "their-name")
assert.Equal(t, user.AuthCode(), "") // doesn't come from github
assert.Equal(t, user.AuthCode(), "") // doesn't come from gitlab
assert.Equal(t, user.Nickname(), "loginname")
assert.Equal(t, user.Email(), "email@address.com")
assert.Equal(t, user.AvatarURL(), "http://myface.com/")
Expand Down

0 comments on commit 4b6c822

Please sign in to comment.