{
namespace Microsoft.AspNetCore.Identity.Test {
public static class IdentityResultAssert {
- public static void IsFailure(IdentityResult result, IdentityError error);
+ public static void IsFailure(IdentityResult result, IdentityError error = null);
}
public abstract class UserManagerSpecificationTestBase<TUser, TKey> where TUser : class where TKey : IEquatable<TKey> {
+ public Task CanChangeEmailOnlyIfEmailSame();
- public Task CreateUpdatesSecurityStamp();
+ public Task PasswordValidatorWithNoErrorsCanBlockAddPassword();
+ public Task PasswordValidatorWithNoErrorsCanBlockChangePassword();
+ public Task PasswordValidatorWithNoErrorsCanBlockCreateUser();
+ public Task PasswordValidatorWithNoErrorsCanBlockResetPasswordWithStaticTokenProvider();
- protected virtual bool ShouldSkipDbTests();
}
}
}