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