syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [1/2] syncope git commit: [SYNCOPE-1324] Ensure digit presence in random pwd
Date Mon, 18 Jun 2018 06:44:27 GMT
Repository: syncope
Updated Branches:
  refs/heads/2_0_X 7e68793a2 -> 1ec36d985
  refs/heads/master b918245d7 -> 07908ed8e


[SYNCOPE-1324] Ensure digit presence in random pwd


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/07908ed8
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/07908ed8
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/07908ed8

Branch: refs/heads/master
Commit: 07908ed8e961f80ad05006d6f0566ff37db9e455
Parents: b918245
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Mon Jun 18 08:43:42 2018 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Mon Jun 18 08:44:14 2018 +0200

----------------------------------------------------------------------
 .../src/test/java/org/apache/syncope/fit/core/UserITCase.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/07908ed8/fit/core-reference/src/test/java/org/apache/syncope/fit/core/UserITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/UserITCase.java
b/fit/core-reference/src/test/java/org/apache/syncope/fit/core/UserITCase.java
index d67be2a..6e576e8 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/UserITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/core/UserITCase.java
@@ -1375,7 +1375,7 @@ public class UserITCase extends AbstractITCase {
             assertEquals("InvalidPassword: Password pwned", e.getElements().iterator().next());
         }
 
-        user.setPassword(RandomStringUtils.randomAlphanumeric(10));
+        user.setPassword("1" + RandomStringUtils.randomAlphanumeric(10));
         user = createUser(user).getEntity();
         assertNotNull(user.getKey());
     }


Mime
View raw message