4 instantiations of AlwaysBadValidator
Microsoft.AspNetCore.Identity.Specification.Tests (4)
IdentitySpecificationTestBase.cs (4)
168manager.RoleValidators.Add(new AlwaysBadValidator()); 184manager.RoleValidators.Add(new AlwaysBadValidator()); 185manager.RoleValidators.Add(new AlwaysBadValidator()); 205manager.RoleValidators.Add(new AlwaysBadValidator());
7 references to AlwaysBadValidator
Microsoft.AspNetCore.Identity.Specification.Tests (7)
IdentitySpecificationTestBase.cs (7)
171AlwaysBadValidator.ErrorMessage); 172IdentityResultAssert.VerifyLogMessage(manager.Logger, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.ErrorMessage.Code}."); 188IdentityResultAssert.IsFailure(result, AlwaysBadValidator.ErrorMessage); 189IdentityResultAssert.VerifyLogMessage(manager.Logger, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.ErrorMessage.Code};{AlwaysBadValidator.ErrorMessage.Code}."); 203var error = AlwaysBadValidator.ErrorMessage; 207IdentityResultAssert.VerifyLogMessage(manager.Logger, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.ErrorMessage.Code}.");