14 references to IsFailure
Microsoft.AspNetCore.Identity.Specification.Tests (10)
IdentitySpecificationTestBase.cs (1)
352IdentityResultAssert.IsFailure(await manager.CreateAsync(role2));
UserManagerSpecificationTests.cs (9)
182IdentityResultAssert.IsFailure(await manager.AddPasswordAsync(user, "password")); 475IdentityResultAssert.IsFailure(await manager.ChangePasswordAsync(user, "password", "new")); 489IdentityResultAssert.IsFailure(await manager.CreateAsync(user, "password")); 511IdentityResultAssert.IsFailure(await manager.ResetPasswordAsync(user, token, newPassword)); 1533IdentityResultAssert.IsFailure(await manager.ChangeEmailAsync(user, "should@fail.com", token2)); 1579IdentityResultAssert.IsFailure(await manager.ChangeEmailAsync(user, newEmail, token1)); 1760IdentityResultAssert.IsFailure(await manager.RedeemTwoFactorRecoveryCodeAsync(user, code)); 1766IdentityResultAssert.IsFailure(await manager.RedeemTwoFactorRecoveryCodeAsync(user, code)); 1789IdentityResultAssert.IsFailure(await manager.RedeemTwoFactorRecoveryCodeAsync(user, code));
Microsoft.AspNetCore.Identity.Test (4)
PasswordValidatorTest.cs (1)
175IdentityResultAssert.IsFailure(result);
UserManagerTest.cs (1)
998IdentityResultAssert.IsFailure(await manager.CreateAsync(new PocoUser(), "password"));
UserValidatorTest.cs (2)
63IdentityResultAssert.IsFailure(result); 91IdentityResultAssert.IsFailure(result);