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