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