4 instantiations of AlwaysBadValidator
Microsoft.AspNetCore.Identity.Specification.Tests (4)
IdentitySpecificationTestBase.cs (4)
168
manager.RoleValidators.Add(new
AlwaysBadValidator
());
184
manager.RoleValidators.Add(new
AlwaysBadValidator
());
185
manager.RoleValidators.Add(new
AlwaysBadValidator
());
205
manager.RoleValidators.Add(new
AlwaysBadValidator
());
7 references to AlwaysBadValidator
Microsoft.AspNetCore.Identity.Specification.Tests (7)
IdentitySpecificationTestBase.cs (7)
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}.");