mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Fix broken test (#8715)
This commit is contained in:
parent
472c8bafb3
commit
ca13659fe0
@ -455,7 +455,8 @@ func TestScanVulnerabilities(t *testing.T) {
|
||||
CurrentInstanceChecks: "auto",
|
||||
}
|
||||
|
||||
err := scanVulnerabilities(ctx, ds, logger, &config, appConfig, vulnPath, &fleet.LicenseInfo{Tier: "premium"})
|
||||
ctx = license.NewContext(ctx, &fleet.LicenseInfo{Tier: fleet.TierPremium})
|
||||
err := scanVulnerabilities(ctx, ds, logger, &config, appConfig, vulnPath)
|
||||
require.NoError(t, err)
|
||||
|
||||
// ensure that nvd vulnerabilities are not deleted
|
||||
|
Loading…
Reference in New Issue
Block a user