Skip to content

Commit

Permalink
added test and fixed existing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAlvo1 committed Dec 5, 2024
1 parent 4fc0e16 commit 2077f59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/scan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1803,6 +1803,8 @@ func TestCreateScan_WithTypeScsMissingRepoURL_Fail(t *testing.T) {

func TestCreateScan_WithTypeScsMissingRepoToken_Fail(t *testing.T) {
_, projectName := getRootProject(t)
scsRepoTokenEnvValue := os.Getenv(params.ScsRepoTokenEnv)
defer setEnvVars(map[string]string{params.ScsRepoTokenEnv: scsRepoTokenEnvValue})

setEnvVars(map[string]string{
params.ScsRepoTokenEnv: "",
Expand Down

0 comments on commit 2077f59

Please sign in to comment.