public void WhenValidateActionGetsCalled() { Setup(); var action = new Models.Action() { ActionType = ActionType.None, Completed = true, ExpiresAt = DateTime.UtcNow.AddMinutes(-1) }; _errors = ActionValidator.ValidateAction(action, ActionType.ResetPassword); }
public void WhenValidateActionGetsCalled() { Setup(); _errors = ActionValidator.ValidateAction(null, ActionType.ResetPassword); }