Update test for default GitLab scope
This commit is contained in:
parent
982439a8d8
commit
a32ff08d68
@ -53,7 +53,7 @@ func TestGitLabProviderDefaults(t *testing.T) {
|
|||||||
p.Data().RedeemURL.String())
|
p.Data().RedeemURL.String())
|
||||||
assert.Equal(t, "https://gitlab.com/api/v3/user",
|
assert.Equal(t, "https://gitlab.com/api/v3/user",
|
||||||
p.Data().ValidateURL.String())
|
p.Data().ValidateURL.String())
|
||||||
assert.Equal(t, "api", p.Data().Scope)
|
assert.Equal(t, "read_user", p.Data().Scope)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestGitLabProviderOverrides(t *testing.T) {
|
func TestGitLabProviderOverrides(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user