cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/master to 12ad5ba
Date Sat, 30 Aug 2014 13:38:33 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 784288eaa -> 12ad5ba19


SAMLUtilsTest: just test that random secure string has some length

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/12ad5ba1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/12ad5ba1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/12ad5ba1

Branch: refs/heads/master
Commit: 12ad5ba197d7d4cd734815da9ee347ab75ce17d7
Parents: 784288e
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Sat Aug 30 15:37:52 2014 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Sat Aug 30 15:37:52 2014 +0200

----------------------------------------------------------------------
 utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/12ad5ba1/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java
----------------------------------------------------------------------
diff --git a/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java b/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java
index 1d34ba1..f7aaeae 100644
--- a/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java
+++ b/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java
@@ -36,7 +36,7 @@ public class SAMLUtilsTest extends TestCase {
 
     @Test
     public void testGenerateSecureRandomId() throws Exception {
-        assertTrue(SAMLUtils.generateSecureRandomId().length() == 32);
+        assertTrue(SAMLUtils.generateSecureRandomId().length() > 0);
     }
 
     @Test


Mime
View raw message