From adeb1b2a73f0a9cc92dc59a83a271b87079a4099 Mon Sep 17 00:00:00 2001 From: mengleang-ngoun Date: Mon, 22 Jan 2024 15:49:18 +0700 Subject: [PATCH] rename test case Signed-off-by: mengleang-ngoun --- .../io/mosip/signup/services/RegistrationServiceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/signup-service/src/test/java/io/mosip/signup/services/RegistrationServiceTest.java b/signup-service/src/test/java/io/mosip/signup/services/RegistrationServiceTest.java index 648b4c99..1fdd4aec 100644 --- a/signup-service/src/test/java/io/mosip/signup/services/RegistrationServiceTest.java +++ b/signup-service/src/test/java/io/mosip/signup/services/RegistrationServiceTest.java @@ -2020,7 +2020,7 @@ public void doUpdatePassword_whenIdentityEndpointResponseIsNull_thenFail() { } @Test - public void doUpdatePassword_whenFail_whenIdentityEndpointResponseContainResponseNull() { + public void doUpdatePassword_whenIdentityEndpointReturnInvalidResponse_thenFail() { String verifiedTransactionId = "VERIFIED_TRANSACTION_ID"; ResetPasswordRequest resetPasswordRequest = new ResetPasswordRequest(); @@ -2063,7 +2063,7 @@ public void doUpdatePassword_whenFail_whenIdentityEndpointResponseContainRespons } @Test - public void doUpdatePassword_whenFail_whenIdentityEndpointResponseErrors() { + public void doUpdatePassword_whenIdentityEndpointReturnsError_thenFail() { String verifiedTransactionId = "VERIFIED_TRANSACTION_ID"; ResetPasswordRequest resetPasswordRequest = new ResetPasswordRequest(); resetPasswordRequest.setPassword("Password@2002");