4 instantiations of AlwaysBadValidator
Microsoft.AspNetCore.Identity.Specification.Tests (4)
IdentitySpecificationTestBase.cs (4)
169manager.RoleValidators.Add(new AlwaysBadValidator()); 185manager.RoleValidators.Add(new AlwaysBadValidator()); 186manager.RoleValidators.Add(new AlwaysBadValidator()); 206manager.RoleValidators.Add(new AlwaysBadValidator());
7 references to AlwaysBadValidator
Microsoft.AspNetCore.Identity.Specification.Tests (7)
IdentitySpecificationTestBase.cs (7)
172AlwaysBadValidator.ErrorMessage); 173IdentityResultAssert.VerifyLogMessage(manager.Logger, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.ErrorMessage.Code}."); 189IdentityResultAssert.IsFailure(result, AlwaysBadValidator.ErrorMessage); 190IdentityResultAssert.VerifyLogMessage(manager.Logger, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.ErrorMessage.Code};{AlwaysBadValidator.ErrorMessage.Code}."); 204var error = AlwaysBadValidator.ErrorMessage; 208IdentityResultAssert.VerifyLogMessage(manager.Logger, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.ErrorMessage.Code}.");