Skip to content

Commit 40b67cf

Browse files
committed
fix testing
Signed-off-by: Rafi <refaei.shikho@hotmail.com>
1 parent 7d13755 commit 40b67cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/core/vulndb/scan/scan_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func TestScanning(t *testing.T) {
186186
sbomFile := sbomWithVulnerability()
187187
req := httptest.NewRequest("POST", "/vulndb/scan/normalized-sboms", sbomFile)
188188
req.Header.Set("Content-Type", "application/json")
189-
req.Header.Set("X-Scanner", "scanner-4")
189+
req.Header.Set("X-Scanner", vulns[0].ScannerIDs)
190190
req.Header.Set("X-Asset-Ref", "some-other-branch")
191191
ctx := app.NewContext(req, recorder)
192192
setupContext(ctx) //setup context

0 commit comments

Comments
 (0)