fix(tests): qualify Health page type — Communication.Health namespace shadowed it
This commit is contained in:
+3
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user