Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="AngleSharp" Version="1.7.2" />
<PackageVersion Include="AngleSharp" Version="1.7.3" />
<PackageVersion Include="bunit" Version="2.9.0" />
<PackageVersion Include="coverlet.collector" Version="10.0.1" />
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="10.0.11" />
Expand All @@ -13,7 +13,7 @@
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.11" />
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="10.0.11" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.9.0" />
<PackageVersion Include="MSTest" Version="4.3.3" />
<PackageVersion Include="MSTest" Version="4.4.0" />
<PackageVersion Include="MudBlazor" Version="9.9.0" />
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.3" />
<PackageVersion Include="NSubstitute" Version="6.2.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,8 @@ await orchestrator.ScanAllAsync(ScanTriggerSource.Scheduled, CancellationToken.N
Assert.AreEqual(ScanRunStatus.Succeeded,
scanRun.Status,
"Runtime scans must still complete when a registry candidate has no digest");
Assert.HasCount(0,
finding.TagCandidates,
"Candidates without a digest must not be persisted for runtime findings");
Assert.IsEmpty(finding.TagCandidates,
"Candidates without a digest must not be persisted for runtime findings");
}
}
}
Expand Down Expand Up @@ -424,9 +423,8 @@ await orchestrator.ScanAllAsync(ScanTriggerSource.Scheduled, CancellationToken.N
"The original finding record must remain for history after the rescan");
Assert.IsFalse(findings[0].IsActive,
"The previous runtime finding must be deactivated when the update is no longer available");
Assert.HasCount(0,
findings[0].TagCandidates,
"Stale tag candidates must be removed when a later scan no longer keeps the finding active");
Assert.IsEmpty(findings[0].TagCandidates,
"Stale tag candidates must be removed when a later scan no longer keeps the finding active");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,8 @@ public void UpdateDetectionServiceLatestAliasWithCurrentLatestDigestReturnsUpToD
Assert.AreEqual("The running image already matches the current 'latest' tag",
evaluation.Summary,
"The summary must explain that the running latest digest is already current");
Assert.HasCount(0,
evaluation.Candidates,
"No candidate list should be produced when the running latest digest already matches the registry latest digest");
Assert.IsEmpty(evaluation.Candidates,
"No candidate list should be produced when the running latest digest already matches the registry latest digest");
}

/// <summary>
Expand Down
Loading