Skip to content

Commit

Permalink
test: update fixtures (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored Jan 21, 2025
1 parent fe20f58 commit a8dda07
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1596,10 +1596,11 @@ func TestRun_UpdatingConfigIgnores(t *testing.T) {
guzzlehttp/[email protected] is affected by the following vulnerabilities:
GHSA-q7rv-6hp3-vh96: Improper Input Validation in guzzlehttp/psr7 (https://github.com/advisories/GHSA-q7rv-6hp3-vh96)
GHSA-wxmh-65f7-jcvw: Improper header name validation in guzzlehttp/psr7 (https://github.com/advisories/GHSA-wxmh-65f7-jcvw)
1 known vulnerability found in fixtures/locks-insecure-nested/nested/my-composer-lock.json
2 known vulnerabilities found in fixtures/locks-insecure-nested/nested/my-composer-lock.json
Updated fixtures/existing-config-with-many-lockfiles.yml with 7 vulnerabilities
Updated fixtures/existing-config-with-many-lockfiles.yml with 8 vulnerabilities
`,
wantStderr: "",
around: func(t *testing.T) func() {
Expand All @@ -1617,6 +1618,7 @@ func TestRun_UpdatingConfigIgnores(t *testing.T) {
- GHSA-q7rv-6hp3-vh96
- GHSA-rp65-9cf3-cjxr
- GHSA-whgm-jr23-g3j9
- GHSA-wxmh-65f7-jcvw
`,
)
},
Expand Down Expand Up @@ -1650,11 +1652,12 @@ func TestRun_UpdatingConfigIgnores(t *testing.T) {
guzzlehttp/[email protected] is affected by the following vulnerabilities:
GHSA-q7rv-6hp3-vh96: Improper Input Validation in guzzlehttp/psr7 (https://github.com/advisories/GHSA-q7rv-6hp3-vh96)
GHSA-wxmh-65f7-jcvw: Improper header name validation in guzzlehttp/psr7 (https://github.com/advisories/GHSA-wxmh-65f7-jcvw)
1 known vulnerability found in fixtures/locks-insecure-nested/nested/my-composer-lock.json
2 known vulnerabilities found in fixtures/locks-insecure-nested/nested/my-composer-lock.json
Updated fixtures/locks-insecure-nested/.osv-detector.yml with 1 vulnerability
Updated fixtures/locks-insecure-nested/nested/.osv-detector.yml with 1 vulnerability
Updated fixtures/locks-insecure-nested/nested/.osv-detector.yml with 2 vulnerabilities
`,
wantStderr: "",
around: func(t *testing.T) func() {
Expand All @@ -1675,6 +1678,7 @@ func TestRun_UpdatingConfigIgnores(t *testing.T) {
`
ignore:
- GHSA-q7rv-6hp3-vh96
- GHSA-wxmh-65f7-jcvw
`,
)

Expand Down

0 comments on commit a8dda07

Please sign in to comment.