From 12ad5ba197d7d4cd734815da9ee347ab75ce17d7 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Sat, 30 Aug 2014 15:37:52 +0200 Subject: [PATCH] SAMLUtilsTest: just test that random secure string has some length Signed-off-by: Rohit Yadav --- utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java b/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java index 1d34ba1b92b..f7aaeae278d 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