mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135804 jkaabimofrad: APPSREPO-35, APPSREPO-118: Added tests for reset password service and REST API. - Added a utility class (EmailUtil) to work with MailActionExecutor in test mode - Added a new workflow task responsible for sending the reset password confirmation email (per peer review) - Changed the reset-password endpoint to return a 202 response for an inactive workflow or invalid workflow id, key or mismatched user - Some other minor changes as the result of adding tests - Also, fixed tests failures by changing the reset password workflow definition target namespace URI. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -37,6 +37,7 @@ import org.alfresco.repo.security.authentication.AuthenticationTest;
|
||||
import org.alfresco.repo.security.authentication.AuthorizationTest;
|
||||
import org.alfresco.repo.security.authentication.ChainingAuthenticationServiceTest;
|
||||
import org.alfresco.repo.security.authentication.NameBasedUserNameGeneratorTest;
|
||||
import org.alfresco.repo.security.authentication.ResetPasswordServiceImplTest;
|
||||
import org.alfresco.repo.security.authentication.UpgradePasswordHashTest;
|
||||
import org.alfresco.repo.security.authentication.external.DefaultRemoteUserMapperTest;
|
||||
import org.alfresco.repo.security.authentication.external.LocalAuthenticationServiceTest;
|
||||
@@ -101,6 +102,8 @@ public class SecurityTestSuite extends TestSuite
|
||||
suite.addTestSuite(DefaultRemoteUserMapperTest.class);
|
||||
suite.addTestSuite(SubsystemChainingFtpAuthenticatorTest.class);
|
||||
suite.addTest(new JUnit4TestAdapter(LocalAuthenticationServiceTest.class));
|
||||
|
||||
suite.addTest(new JUnit4TestAdapter(ResetPasswordServiceImplTest.class));
|
||||
return suite;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user