2 references to Create
Microsoft.AspNetCore.Authorization.Test (2)
DefaultAuthorizationServiceTests.cs (2)
860
Assert.True((await authorizationService.AuthorizeAsync(user, null, Operations.
Create
)).Succeeded);
939
Assert.False((await authorizationService.AuthorizeAsync(user, new ExpenseReport(), Operations.
Create
)).Succeeded);