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)
78async () => await store.RemoveFromRoleAsync(null, null)); 119async () => await store.RemoveFromRoleAsync(null, null)); 155await Assert.ThrowsAsync<ArgumentNullException>("normalizedRoleName", async () => await store.RemoveFromRoleAsync(new IdentityUser("fake"), null)); 158await Assert.ThrowsAsync<ArgumentException>("normalizedRoleName", async () => await store.RemoveFromRoleAsync(new IdentityUser("fake"), ""));