You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2014/09/10 14:24:52 UTC
git commit: updated refs/heads/master to 8929d74
Repository: cloudstack
Updated Branches:
refs/heads/master 2b7b837b2 -> 8929d7451
SAML2UserAuthenticatorTest: Fix test, make sure encoded password length > 0
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8929d745
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8929d745
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8929d745
Branch: refs/heads/master
Commit: 8929d74519c6f42c6205d291849a317f4c524154
Parents: 2b7b837
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Wed Sep 10 14:24:03 2014 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Wed Sep 10 14:24:03 2014 +0200
----------------------------------------------------------------------
.../test/org/apache/cloudstack/SAML2UserAuthenticatorTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8929d745/plugins/user-authenticators/saml2/test/org/apache/cloudstack/SAML2UserAuthenticatorTest.java
----------------------------------------------------------------------
diff --git a/plugins/user-authenticators/saml2/test/org/apache/cloudstack/SAML2UserAuthenticatorTest.java b/plugins/user-authenticators/saml2/test/org/apache/cloudstack/SAML2UserAuthenticatorTest.java
index 6f5150b..29fb496 100644
--- a/plugins/user-authenticators/saml2/test/org/apache/cloudstack/SAML2UserAuthenticatorTest.java
+++ b/plugins/user-authenticators/saml2/test/org/apache/cloudstack/SAML2UserAuthenticatorTest.java
@@ -48,7 +48,7 @@ public class SAML2UserAuthenticatorTest {
@Test
public void encode() {
- Assert.assertTrue(new SAML2UserAuthenticator().encode("random String").length() == 32);
+ Assert.assertTrue(new SAML2UserAuthenticator().encode("random String").length() > 0);
}
@Test