Files
scadaproj/components/ui-theme/validation/bunit-2.7.2/OtOpcUa/change.patch
T
2026-11-13 15:32:41 -05:00

40 lines
2.6 KiB
Diff

diff --git a/Directory.Packages.props b/Directory.Packages.props
index 4e0ca941..42438bac 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -14,6 +14,8 @@
<PackageVersion Include="Akka.Streams" Version="1.5.62" />
<PackageVersion Include="Akka.Streams.TestKit" Version="1.5.62" />
<PackageVersion Include="Akka.TestKit.Xunit" Version="1.5.62" />
+ <!-- Direct test-only AdminUI parser reference; validated with stable bUnit 2.7.2. -->
+ <PackageVersion Include="AngleSharp" Version="1.5.2" />
<PackageVersion Include="Avalonia" Version="11.2.7" />
<PackageVersion Include="Avalonia.Controls.DataGrid" Version="11.2.7" />
<PackageVersion Include="Avalonia.Desktop" Version="11.2.7" />
@@ -23,7 +25,7 @@
<PackageVersion Include="Avalonia.Svg.Skia" Version="11.2.0.2" />
<PackageVersion Include="Avalonia.Themes.Fluent" Version="11.2.7" />
<PackageVersion Include="Beckhoff.TwinCAT.Ads" Version="7.0.172" />
- <PackageVersion Include="bunit" Version="2.0.33-preview" />
+ <PackageVersion Include="bunit" Version="2.7.2" />
<PackageVersion Include="CliFx" Version="2.3.6" />
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj
index fc150a1f..f19724ff 100644
--- a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj
+++ b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj
@@ -10,10 +10,8 @@
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
<PackageReference Include="bunit"/>
- <!-- bUnit (test-only) pulls AngleSharp 1.1.1 (GHSA-pgww-w46g-26qg, moderate, HTML parsing of untrusted
- input). Tests only parse our own rendered markup; patched AngleSharp releases break bunit 2.0.33-preview
- (TypeLoadException), so the advisory is suppressed here rather than overriding the version. -->
- <NuGetAuditSuppress Include="https://github.com/advisories/GHSA-pgww-w46g-26qg"/>
+ <!-- Direct test dependency activates the patched central parser pin. -->
+ <PackageReference Include="AngleSharp"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory"/>
<!-- AdminUiSqlServerFixture drives a real SQL Server (create/migrate/drop) for the suites
whose subject is the SQL provider's LINQ translation, not the C# around it. SqlConnection