Skip to content

Commit

Permalink
Update AuthorizationServiceTest.java[ES-1347]
Browse files Browse the repository at this point in the history
  • Loading branch information
pvsaidurga authored Jul 26, 2024
1 parent 2a781e1 commit f82dae4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ public void testSendOtp_ValidRequest_thenPass() throws Exception {
}

@Test
public void testSendOtp_InValidRequest_thenFail() throws Exception {
public void sendOtp_whenIndividualIdBlocked_thenFail() throws Exception {
OtpRequest otpRequest = new OtpRequest();
otpRequest.setCaptchaToken("captchaToken");
otpRequest.setTransactionId("transactionId");
Expand All @@ -1254,7 +1254,7 @@ public void testSendOtp_InValidRequest_thenFail() throws Exception {
}

@Test
public void testSendOtp_InvalidTransaction_thenFail() throws Exception {
public void sendOtp_invalidTransactionId_thenFail() throws Exception {
OtpRequest otpRequest = new OtpRequest();
otpRequest.setTransactionId("invalidTransactionId");
when(cacheUtilService.getPreAuthTransaction("invalidTransactionId")).thenReturn(null);
Expand Down

0 comments on commit f82dae4

Please sign in to comment.