12 instantiations of AlwaysBadValidator
Microsoft.AspNetCore.Identity.Specification.Tests (12)
16 references to AlwaysBadValidator
Microsoft.AspNetCore.Identity.Specification.Tests (16)
UserManagerSpecificationTests.cs (16)
360IdentityResultAssert.IsFailure(await manager.CreateAsync(user), AlwaysBadValidator.ErrorMessage);
361IdentityResultAssert.VerifyLogMessage(manager.Logger, $"User validation failed: {AlwaysBadValidator.ErrorMessage.Code}.");
376IdentityResultAssert.IsFailure(await manager.UpdateAsync(user), AlwaysBadValidator.ErrorMessage);
377IdentityResultAssert.VerifyLogMessage(manager.Logger, $"User validation failed: {AlwaysBadValidator.ErrorMessage.Code}.");
393IdentityResultAssert.IsFailure(result, AlwaysBadValidator.ErrorMessage);
394IdentityResultAssert.VerifyLogMessage(manager.Logger, $"User validation failed: {AlwaysBadValidator.ErrorMessage.Code};{AlwaysBadValidator.ErrorMessage.Code}.");
441AlwaysBadValidator.ErrorMessage);
442IdentityResultAssert.VerifyLogMessage(manager.Logger, $"User password validation failed: {AlwaysBadValidator.ErrorMessage.Code}.");
459IdentityResultAssert.IsFailure(result, AlwaysBadValidator.ErrorMessage);
529AlwaysBadValidator.ErrorMessage);
530IdentityResultAssert.VerifyLogMessage(manager.Logger, $"User password validation failed: {AlwaysBadValidator.ErrorMessage.Code}.");
544IdentityResultAssert.IsFailure(await manager.CreateAsync(user, "password"), AlwaysBadValidator.ErrorMessage);
545IdentityResultAssert.VerifyLogMessage(manager.Logger, $"User password validation failed: {AlwaysBadValidator.ErrorMessage.Code}.");
1027AlwaysBadValidator.ErrorMessage);
1028IdentityResultAssert.VerifyLogMessage(manager.Logger, $"User password validation failed: {AlwaysBadValidator.ErrorMessage.Code}.");