6 references to RemoveFromRolesAsync
Microsoft.AspNetCore.Identity.Test (6)
UserManagerTest.cs (6)
466
var result = await userManager.
RemoveFromRolesAsync
(user, roles);
493
var result = await userManager.
RemoveFromRolesAsync
(user, roles);
933
await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.
RemoveFromRolesAsync
(null, null));
1042
await Assert.ThrowsAsync<ArgumentNullException>("roles", async () => await manager.
RemoveFromRolesAsync
(new PocoUser(), null));
1083
async () => await manager.
RemoveFromRolesAsync
(null, null));
1167
await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.
RemoveFromRolesAsync
(null, null));