feat(centralui): cert-management UI + Trust action + site relay (T17)
This commit is contained in:
@@ -21,8 +21,10 @@ public class DataConnectionFormTests : BunitContext
|
||||
{
|
||||
Services.AddSingleton(_siteRepo);
|
||||
// The OPC UA editor rendered inside the form injects IEndpointVerificationService
|
||||
// (B8 / T17 Verify-endpoint button); a no-op substitute satisfies the injection.
|
||||
// (B8 / T17 Verify-endpoint button) and ICertManagementService (B10 / T17
|
||||
// Trust-certificate button); no-op substitutes satisfy the injections.
|
||||
Services.AddSingleton<IEndpointVerificationService>(Substitute.For<IEndpointVerificationService>());
|
||||
Services.AddSingleton<ICertManagementService>(Substitute.For<ICertManagementService>());
|
||||
AddTestAuth();
|
||||
var sites = new List<Site> { new("Plant-A", "plant-a") { Id = 1 } };
|
||||
_siteRepo.GetAllSitesAsync(Arg.Any<CancellationToken>())
|
||||
|
||||
Reference in New Issue
Block a user