Merge pull request #1130 from oauth2-proxy/fix-gitlab-cve-test

Fix GitLab CVE test case
This commit is contained in:
Joel Speed 2021-03-25 17:33:57 +00:00 committed by GitHub
commit d64d717e63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,7 +240,7 @@ var _ = Describe("Gitlab Provider Tests", func() {
projects: []string{"my_group/my_project=40"},
}),
Entry("project membership invalid on group project, no access at all", entitiesTableInput{
expectedValue: nil,
expectedValue: []string{"group:foo", "group:bar"},
projects: []string{"no_access_group/no_access_project=30"},
}),
Entry("project membership valid on personnal project", entitiesTableInput{