fix: update test with new vulns (#23775)

> No ticket, just fixing a broken test

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Added/updated tests
This commit is contained in:
Jahziel Villasana-Espinoza 2024-11-13 14:15:31 -05:00 committed by GitHub
parent e3618e8335
commit 6a26b894b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -279,6 +279,7 @@ func TestTranslateCPEToCVE(t *testing.T) {
"cpe:2.3:a:microsoft:python_extension:2020.9.1:*:*:*:*:visual_studio_code:*:*": {
includedCVEs: []cve{
{ID: "CVE-2020-17163", resolvedInVersion: "2020.9.2"},
{ID: "CVE-2024-49050", resolvedInVersion: "2024.18.2"},
},
continuesToUpdate: false,
},
@ -303,6 +304,7 @@ func TestTranslateCPEToCVE(t *testing.T) {
{ID: "CVE-2020-1171", resolvedInVersion: "2020.5.0"},
{ID: "CVE-2020-1192", resolvedInVersion: "2020.5.0"},
{ID: "CVE-2020-17163", resolvedInVersion: "2020.9.2"},
{ID: "CVE-2024-49050", resolvedInVersion: "2024.18.2"},
},
continuesToUpdate: false,
},