fix(tests): qualify Health page type — Communication.Health namespace shadowed it

This commit is contained in:
Joseph Doherty
2026-07-24 13:35:24 -04:00
parent 5d4853a1f0
commit 1c9159a7ce
@@ -42,7 +42,9 @@ public class MonitoringAuthorizationTests
public void HealthDashboard_IsIntentionallyAllAuthenticatedRoles()
{
// Health Dashboard stays all-roles (no policy) per the design doc.
var attr = AuthorizeOf<Health>();
// Fully qualified: the Communication.Health namespace otherwise makes
// the bare `Health` page type ambiguous.
var attr = AuthorizeOf<CentralUI.Components.Pages.Monitoring.Health>();
Assert.NotNull(attr);
Assert.Null(attr!.Policy);