Skip to content

Commit a8dda07

Browse files
authored
test: update fixtures (#284)
1 parent fe20f58 commit a8dda07

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

main_test.go

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,10 +1596,11 @@ func TestRun_UpdatingConfigIgnores(t *testing.T) {
15961596
15971597
guzzlehttp/[email protected] is affected by the following vulnerabilities:
15981598
GHSA-q7rv-6hp3-vh96: Improper Input Validation in guzzlehttp/psr7 (https://github.com/advisories/GHSA-q7rv-6hp3-vh96)
1599+
GHSA-wxmh-65f7-jcvw: Improper header name validation in guzzlehttp/psr7 (https://github.com/advisories/GHSA-wxmh-65f7-jcvw)
15991600
1600-
1 known vulnerability found in fixtures/locks-insecure-nested/nested/my-composer-lock.json
1601+
2 known vulnerabilities found in fixtures/locks-insecure-nested/nested/my-composer-lock.json
16011602
1602-
Updated fixtures/existing-config-with-many-lockfiles.yml with 7 vulnerabilities
1603+
Updated fixtures/existing-config-with-many-lockfiles.yml with 8 vulnerabilities
16031604
`,
16041605
wantStderr: "",
16051606
around: func(t *testing.T) func() {
@@ -1617,6 +1618,7 @@ func TestRun_UpdatingConfigIgnores(t *testing.T) {
16171618
- GHSA-q7rv-6hp3-vh96
16181619
- GHSA-rp65-9cf3-cjxr
16191620
- GHSA-whgm-jr23-g3j9
1621+
- GHSA-wxmh-65f7-jcvw
16201622
`,
16211623
)
16221624
},
@@ -1650,11 +1652,12 @@ func TestRun_UpdatingConfigIgnores(t *testing.T) {
16501652
16511653
guzzlehttp/[email protected] is affected by the following vulnerabilities:
16521654
GHSA-q7rv-6hp3-vh96: Improper Input Validation in guzzlehttp/psr7 (https://github.com/advisories/GHSA-q7rv-6hp3-vh96)
1655+
GHSA-wxmh-65f7-jcvw: Improper header name validation in guzzlehttp/psr7 (https://github.com/advisories/GHSA-wxmh-65f7-jcvw)
16531656
1654-
1 known vulnerability found in fixtures/locks-insecure-nested/nested/my-composer-lock.json
1657+
2 known vulnerabilities found in fixtures/locks-insecure-nested/nested/my-composer-lock.json
16551658
16561659
Updated fixtures/locks-insecure-nested/.osv-detector.yml with 1 vulnerability
1657-
Updated fixtures/locks-insecure-nested/nested/.osv-detector.yml with 1 vulnerability
1660+
Updated fixtures/locks-insecure-nested/nested/.osv-detector.yml with 2 vulnerabilities
16581661
`,
16591662
wantStderr: "",
16601663
around: func(t *testing.T) func() {
@@ -1675,6 +1678,7 @@ func TestRun_UpdatingConfigIgnores(t *testing.T) {
16751678
`
16761679
ignore:
16771680
- GHSA-q7rv-6hp3-vh96
1681+
- GHSA-wxmh-65f7-jcvw
16781682
`,
16791683
)
16801684

0 commit comments

Comments
 (0)