test(ui): verify bUnit 2.7.2 with patched parser
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
<PackageVersion Include="Akka.Streams" Version="1.5.62" />
|
||||
<PackageVersion Include="Akka.Streams.TestKit" Version="1.5.62" />
|
||||
<PackageVersion Include="Akka.TestKit.Xunit2" Version="1.5.62" />
|
||||
<PackageVersion Include="AngleSharp" Version="1.5.2" />
|
||||
<PackageVersion Include="bunit" Version="2.7.2" />
|
||||
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
|
||||
<PackageVersion Include="FluentAssertions" Version="8.3.0" />
|
||||
@@ -198,19 +199,8 @@
|
||||
NuGetAuditSuppress/NoWarn.
|
||||
-->
|
||||
|
||||
<!--
|
||||
GHSA-pgww-w46g-26qg (NU1902, moderate) on AngleSharp, reached only transitively via bunit
|
||||
in ZB.MOM.WW.ScadaBridge.CentralUI.Tests. With TreatWarningsAsErrors it made the WHOLE
|
||||
SOLUTION BUILD RED, so no suite could run and every "0 warnings / green" gate was
|
||||
unverifiable.
|
||||
|
||||
Resolved with a scoped NuGetAuditSuppress in that ONE test project (see its csproj for the
|
||||
full rationale) — deliberately NOT a version pin here. A pin was tried first and reverted:
|
||||
AngleSharp >= 1.5.0 is the only patched line, and it changes IHtmlCollection<T>'s indexer,
|
||||
which makes every bunit build throw MissingMethodException at runtime (33 render tests
|
||||
failed). Bumping bunit does not help either — even 2.7.2 resolves AngleSharp 1.4.0, which
|
||||
is still vulnerable. There is no working patched combination upstream today.
|
||||
-->
|
||||
<!-- Test-only parser pin: CentralUI.Tests references AngleSharp directly.
|
||||
bUnit 2.7.2 render/event tests pass with patched AngleSharp 1.5.2. -->
|
||||
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user