Skip to content

Commit

Permalink
revert old tests refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
miryamfoiferCX committed Nov 4, 2024
1 parent c9155da commit 9f743b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/integration/pr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func getCompletedScanID(t *testing.T) string {
}

func TestPRGithubDecorationSuccessCase(t *testing.T) {
scanID := getCompletedScanID(t)
scanID, _ := getRootScan(t, params.SastType)
args := []string{
"utils",
"pr",
Expand Down Expand Up @@ -141,12 +141,13 @@ func TestPRGithubDecorationFailure(t *testing.T) {
}

func TestPRGitlabDecorationSuccessCase(t *testing.T) {
scanID, _ := getRootScan(t, params.SastType)
args := []string{
"utils",
"pr",
"gitlab",
flag(params.ScanIDFlag),
getCompletedScanID(t),
scanID,
flag(params.SCMTokenFlag),
os.Getenv(prGitlabToken),
flag(params.NamespaceFlag),
Expand Down

0 comments on commit 9f743b0

Please sign in to comment.