mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-18 04:41:19 +02:00
Adjust GitLab options configuration
This commit is contained in:
@@ -228,7 +228,7 @@ var _ = Describe("Gitlab Provider Tests", func() {
|
||||
p.SetAllowedGroups(in.allowedGroups)
|
||||
|
||||
err := p.SetAllowedProjects(in.allowedProjects)
|
||||
if err == nil {
|
||||
if in.expectedError == nil {
|
||||
Expect(err).To(BeNil())
|
||||
} else {
|
||||
Expect(err).To(MatchError(in.expectedError))
|
||||
|
||||
Reference in New Issue
Block a user