Skip to content

Commit

Permalink
fix secrets tests
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Sep 12, 2023
1 parent 3b1ea56 commit c1f4896
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scanpullrequest/scanpullrequest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,7 @@ func TestCreateNewSecretRows(t *testing.T) {
expectedAddedSecretsVulnerabilities: []formats.SourceCodeRow{
{
Severity: "High",
Finding: "Secret",
Location: formats.Location{
File: "file1",
StartLine: 1,
Expand Down Expand Up @@ -856,6 +857,7 @@ func TestCreateNewSecretRows(t *testing.T) {
expectedAddedSecretsVulnerabilities: []formats.SourceCodeRow{
{
Severity: "Medium",
Finding: "Secret",
SeverityNumValue: 11,
Location: formats.Location{
File: "file2",
Expand Down

0 comments on commit c1f4896

Please sign in to comment.