diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/idp/mgt/PreferenceAPIIntegrationUITestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/idp/mgt/PreferenceAPIIntegrationUITestCase.java
index d306d9c941..08b5cc77f5 100644
--- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/idp/mgt/PreferenceAPIIntegrationUITestCase.java
+++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/idp/mgt/PreferenceAPIIntegrationUITestCase.java
@@ -53,6 +53,8 @@ public class PreferenceAPIIntegrationUITestCase extends OAuth2ServiceAbstractInt
private static final String ENABLE_SELF_REGISTRATION_PROP_KEY = "SelfRegistration.Enable";
private static final String ENABLE_USERNAME_RECOVERY_PROP_KEY = "Recovery.Notification.Username.Enable";
+ private static final String ENABLE_USERNAME_EMAIL_RECOVERY_PROP_KEY = "Recovery.Notification.Username.Email.Enable";
+ private static final String ENABLE_USERNAME_SMS_RECOVERY_PROP_KEY = "Recovery.Notification.Username.SMS.Enable";
private static final String ENABLE_PASSWORD_QS_RECOVERY_PROP_KEY = "Recovery.Question.Password.Enable";
private static final String ENABLE_PASSWORD_NOTIFICATION_RECOVERY_PROP_KEY =
"Recovery.Notification.Password.Enable";
@@ -129,6 +131,8 @@ public void resetResidentIDP() throws Exception {
updateResidentIDPProperties(superTenantResidentIDP, Map.of(
ENABLE_SELF_REGISTRATION_PROP_KEY, "false",
ENABLE_USERNAME_RECOVERY_PROP_KEY, "false",
+ ENABLE_USERNAME_EMAIL_RECOVERY_PROP_KEY, "false",
+ ENABLE_USERNAME_SMS_RECOVERY_PROP_KEY, "false",
ENABLE_PASSWORD_QS_RECOVERY_PROP_KEY, "false",
ENABLE_PASSWORD_NOTIFICATION_RECOVERY_PROP_KEY, "false",
ENABLE_PASSWORD_EMAIL_LINK_RECOVERY_PROP_KEY, "false",
@@ -155,7 +159,10 @@ public void testSelfRegistration() throws Exception {
@Test(groups = "wso2.is", description = "Check Username recovery Login Page")
public void testUsernameRecovery() throws Exception {
- updateResidentIDPProperty(superTenantResidentIDP, ENABLE_USERNAME_RECOVERY_PROP_KEY, "true");
+ updateResidentIDPProperties(superTenantResidentIDP, Map.of(
+ ENABLE_USERNAME_EMAIL_RECOVERY_PROP_KEY, "true",
+ ENABLE_USERNAME_RECOVERY_PROP_KEY, "true"
+ ));
String content = sendAuthorizeRequest();
Assert.assertTrue(content.contains(RECOVERY_USERNAME_CONTENT));
}
diff --git a/pom.xml b/pom.xml
index ff9e03e540..1d595a7872 100755
--- a/pom.xml
+++ b/pom.xml
@@ -2376,7 +2376,7 @@
2.6.4
- 1.11.14
+ 1.11.15
5.9.5