Skip to content

Commit

Permalink
add end line
Browse files Browse the repository at this point in the history
  • Loading branch information
mengleang-0090 committed Jan 16, 2024
1 parent 450fe3c commit 7b61b3b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ public class SignUpException extends EsignetException {
public SignUpException(String errorCode){
super(errorCode);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ private String generateOTPChallenge(String challengeTransactionId) {
throw new SignUpException(restResponseWrapper != null && !CollectionUtils.isEmpty(restResponseWrapper.getErrors()) ?
restResponseWrapper.getErrors().get(0).getErrorCode() : ErrorConstants.GENERATE_CHALLENGE_FAILED);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ public boolean validateCaptcha(String captchaToken) {
reCaptchaResponse.getErrorCodes() : "Response is null");
return false;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1270,4 +1270,4 @@ public void register_withNotMatchUsernameRegex_returnErrorResponse() throws Exce
.andExpect(jsonPath("$.errors[0].errorMessage").value(
"request.userInfo.fullName[0]: invalid_fullname"));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ public void doGenerateChallenge_withApiResponseErrors_thenFail() throws SignUpEx
Assert.assertEquals("401", ex.getErrorCode());
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ void validateCaptcha_withRecaptchaValidatorFailure_thenFalse() {
void validateCaptcha_withRecaptchaValidatorNull_thenFalse() {
assertEquals(false, googleRecaptchaValidatorService.validateCaptcha("mockToken"));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2140,4 +2140,4 @@ public void doVerifyChallenge_withExpiredChallenge_thenFail() throws Exception {
Assert.assertEquals(ErrorConstants.CHALLENGE_EXPIRED, exception.getErrorCode());
}
}
}
}

0 comments on commit 7b61b3b

Please sign in to comment.