Skip to content

Commit 3d31f7a

Browse files
Clean up SetValidationErrorResult method
Removed commented-out code for clarity.
1 parent c317f03 commit 3d31f7a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/Identity.Test/Wrappers/BaseRequestValidatorTestWrapper.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,6 @@ protected override void SetValidationErrorResult(
143143
BaseRequestValidationContextFake context,
144144
CustomValidatorRequestContext requestContext)
145145
{
146-
// context.GrantResult.Error = requestContext.ValidationErrorResult.Error;
147-
// context.GrantResult.IsError = requestContext.ValidationErrorResult.IsError;
148-
// context.GrantResult.ErrorDescription = requestContext.ValidationErrorResult.ErrorDescription;
149-
// context.GrantResult.CustomResponse = requestContext.CustomResponse;
150146
context.GrantResult.IsError = true;
151147
}
152148

0 commit comments

Comments
 (0)