fix tests. new product advisories enhancements
This commit is contained in:
@@ -181,7 +181,7 @@ builder.Services.AddSingleton<IProjectionRepository>(sp =>
|
||||
|
||||
foreach (var root in candidateRoots)
|
||||
{
|
||||
var candidate = Path.Combine(root, "docs", "modules", "sbomservice", "fixtures", "lnm-v1", "projections.json");
|
||||
var candidate = Path.Combine(root, "docs", "modules", "sbom-service", "fixtures", "lnm-v1", "projections.json");
|
||||
if (File.Exists(candidate))
|
||||
{
|
||||
return new FileProjectionRepository(candidate);
|
||||
@@ -203,7 +203,7 @@ static string? FindFixture(IHostEnvironment env, string fileName)
|
||||
|
||||
foreach (var root in candidateRoots)
|
||||
{
|
||||
var candidate = Path.Combine(root, "docs", "modules", "sbomservice", "fixtures", "lnm-v1", fileName);
|
||||
var candidate = Path.Combine(root, "docs", "modules", "sbom-service", "fixtures", "lnm-v1", fileName);
|
||||
if (File.Exists(candidate))
|
||||
{
|
||||
return candidate;
|
||||
|
||||
Reference in New Issue
Block a user