10 references to ErrorMessage
Microsoft.AspNetCore.Identity.Specification.Tests (10)
IdentitySpecificationTestBase.cs (10)
145
return Task.FromResult(IdentityResult.Failed(
ErrorMessage
));
150
return Task.FromResult(IdentityResult.Failed(
ErrorMessage
));
155
return Task.FromResult(IdentityResult.Failed(
ErrorMessage
));
171
AlwaysBadValidator.
ErrorMessage
);
172
IdentityResultAssert.VerifyLogMessage(manager.Logger, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.
ErrorMessage
.Code}.");
188
IdentityResultAssert.IsFailure(result, AlwaysBadValidator.
ErrorMessage
);
189
IdentityResultAssert.VerifyLogMessage(manager.Logger, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.
ErrorMessage
.Code};{AlwaysBadValidator.
ErrorMessage
.Code}.");
203
var error = AlwaysBadValidator.
ErrorMessage
;
207
IdentityResultAssert.VerifyLogMessage(manager.Logger, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.
ErrorMessage
.Code}.");