@@ -113,7 +113,8 @@ func TestScanAllPullRequestsMultiRepo(t *testing.T) {
113113 firstRepoParams := utils.Params {
114114 JFrogPlatform : utils.JFrogPlatform {XrayVersion : xrayVersion , XscVersion : xscVersion },
115115 Scan : utils.Scan {
116- FailOnSecurityIssues : & failOnSecurityIssues ,
116+ AddPrCommentOnSuccess : true ,
117+ FailOnSecurityIssues : & failOnSecurityIssues ,
117118 Projects : []utils.Project {{
118119 InstallCommandName : "npm" ,
119120 InstallCommandArgs : []string {"i" },
@@ -127,8 +128,9 @@ func TestScanAllPullRequestsMultiRepo(t *testing.T) {
127128 Git : gitParams .Git ,
128129 JFrogPlatform : utils.JFrogPlatform {XrayVersion : xrayVersion , XscVersion : xscVersion },
129130 Scan : utils.Scan {
130- FailOnSecurityIssues : & failOnSecurityIssues ,
131- Projects : []utils.Project {{WorkingDirs : []string {utils .RootDir }, UseWrapper : & utils .TrueVal }}},
131+ AddPrCommentOnSuccess : true ,
132+ FailOnSecurityIssues : & failOnSecurityIssues ,
133+ Projects : []utils.Project {{WorkingDirs : []string {utils .RootDir }, UseWrapper : & utils .TrueVal }}},
132134 }
133135
134136 configAggregator := utils.RepoAggregator {
@@ -176,7 +178,8 @@ func TestScanAllPullRequests(t *testing.T) {
176178 params := utils.Params {
177179 JFrogPlatform : utils.JFrogPlatform {XrayVersion : xrayVersion , XscVersion : xscVersion },
178180 Scan : utils.Scan {
179- FailOnSecurityIssues : & falseVal ,
181+ AddPrCommentOnSuccess : true ,
182+ FailOnSecurityIssues : & falseVal ,
180183 Projects : []utils.Project {{
181184 InstallCommandName : "npm" ,
182185 InstallCommandArgs : []string {"i" },
0 commit comments