Skip to content

Commit

Permalink
fix: gitlab e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
abeizn committed Sep 25, 2024
1 parent 103f750 commit 065dc01
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion backend/plugins/gitlab/e2e/job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,20 @@ import (
)

func TestGitlabJobDataFlow(t *testing.T) {

var gitlab impl.Gitlab
dPattern := ""
pPattern := ""
dataflowTester := e2ehelper.NewDataFlowTester(t, "gitlab", gitlab)
regexEnricher := api.NewRegexEnricher()
_ = regexEnricher.TryAdd(devops.DEPLOYMENT, "(?i)compile")
taskData := &tasks.GitlabTaskData{
Options: &tasks.GitlabOptions{
ConnectionId: 1,
ProjectId: 44,
ScopeConfig: &models.GitlabScopeConfig{
DeploymentPattern: &dPattern,
ProductionPattern: &pPattern,
},
},
RegexEnricher: regexEnricher,
}
Expand Down

0 comments on commit 065dc01

Please sign in to comment.