Adjust GitLab options configuration

This commit is contained in:
Nick Meves
2021-09-25 16:48:48 -07:00
parent 3092941c57
commit c84a5a418f
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -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))