Base:
method
RemoveFromRoleAsync
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, TRole, TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim>.RemoveFromRoleAsync(TUser, System.String, System.Threading.CancellationToken)
4 references to RemoveFromRoleAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (4)
UserStoreTest.cs (4)
78
async () => await store.
RemoveFromRoleAsync
(null, null));
119
async () => await store.
RemoveFromRoleAsync
(null, null));
155
await Assert.ThrowsAsync<ArgumentNullException>("normalizedRoleName", async () => await store.
RemoveFromRoleAsync
(new IdentityUser("fake"), null));
158
await Assert.ThrowsAsync<ArgumentException>("normalizedRoleName", async () => await store.
RemoveFromRoleAsync
(new IdentityUser("fake"), ""));