1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-28 09:08:44 +02:00

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) {