Update test for default GitLab scope

This commit is contained in:
Miouge1 2017-09-12 23:43:49 +02:00 committed by GitHub
parent 982439a8d8
commit a32ff08d68

View File

@ -53,7 +53,7 @@ func TestGitLabProviderDefaults(t *testing.T) {
p.Data().RedeemURL.String())
assert.Equal(t, "https://gitlab.com/api/v3/user",
p.Data().ValidateURL.String())
assert.Equal(t, "api", p.Data().Scope)
assert.Equal(t, "read_user", p.Data().Scope)
}
func TestGitLabProviderOverrides(t *testing.T) {