Resolve all high-severity architecture review findings
This commit is contained in:
@@ -76,6 +76,7 @@ public class ApiMethodFormSandboxDisposalTests : BunitContext
|
||||
var user = new ClaimsPrincipal(new ClaimsIdentity(claims, "TestAuth"));
|
||||
Services.AddSingleton<AuthenticationStateProvider>(new TestAuthStateProvider(user));
|
||||
Services.AddAuthorizationCore();
|
||||
Services.AddTestConfigurationMutations();
|
||||
|
||||
return (Render<ApiMethodFormPage>(), sandbox);
|
||||
}
|
||||
@@ -179,6 +180,7 @@ public class SharedScriptFormSandboxDisposalTests : BunitContext
|
||||
var user = new ClaimsPrincipal(new ClaimsIdentity(claims, "TestAuth"));
|
||||
Services.AddSingleton<AuthenticationStateProvider>(new TestAuthStateProvider(user));
|
||||
Services.AddAuthorizationCore();
|
||||
Services.AddTestConfigurationMutations();
|
||||
|
||||
return (Render<SharedScriptFormPage>(), sandbox);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user