8 references to ReplaceClaimAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
Microsoft.AspNetCore.Identity.Specification.Tests (2)
Microsoft.AspNetCore.Identity.Test (5)
UserManagerTest.cs (5)
611var result = await userManager.ReplaceClaimAsync(user, claim, newClaim);
1078await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.ReplaceClaimAsync(null, null, null));
1362await Assert.ThrowsAsync<ArgumentNullException>("user", async () => await manager.ReplaceClaimAsync(null, null, null));
1420async () => await manager.ReplaceClaimAsync(null, new Claim("a", "b"), new Claim("a", "c")));
1518await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.ReplaceClaimAsync(null, null, null));