Skip to content

Commit

Permalink
possible solution to test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalk007 committed Dec 29, 2024
1 parent 47e8c63 commit 4e6e025
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scanpullrequest/scanallpullrequests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,9 @@ func TestScanAllPullRequestsMultiRepo(t *testing.T) {
Git: gitParams.Git,
JFrogPlatform: utils.JFrogPlatform{XrayVersion: xrayVersion, XscVersion: xscVersion},
Scan: utils.Scan{
FailOnSecurityIssues: &failOnSecurityIssues,
Projects: []utils.Project{{WorkingDirs: []string{utils.RootDir}, UseWrapper: &utils.TrueVal}}},
AddPrCommentOnSuccess: true,
FailOnSecurityIssues: &failOnSecurityIssues,
Projects: []utils.Project{{WorkingDirs: []string{utils.RootDir}, UseWrapper: &utils.TrueVal}}},
}

configAggregator := utils.RepoAggregator{
Expand Down Expand Up @@ -177,7 +178,8 @@ func TestScanAllPullRequests(t *testing.T) {
params := utils.Params{
JFrogPlatform: utils.JFrogPlatform{XrayVersion: xrayVersion, XscVersion: xscVersion},
Scan: utils.Scan{
FailOnSecurityIssues: &falseVal,
AddPrCommentOnSuccess: true,
FailOnSecurityIssues: &falseVal,
Projects: []utils.Project{{
InstallCommandName: "npm",
InstallCommandArgs: []string{"i"},
Expand Down

0 comments on commit 4e6e025

Please sign in to comment.