cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [3/5] cxf-fediz git commit: Fixing test following CXF update
Date Wed, 24 Feb 2016 17:01:51 GMT
Fixing test following CXF update


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/88afda31
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/88afda31
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/88afda31

Branch: refs/heads/master
Commit: 88afda3150cdddce632f362f5d33d68dad2f5cab
Parents: f545ba0
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Wed Feb 24 15:38:57 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Wed Feb 24 15:38:57 2016 +0000

----------------------------------------------------------------------
 .../src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/88afda31/systests/oidc/src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java
----------------------------------------------------------------------
diff --git a/systests/oidc/src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java
b/systests/oidc/src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java
index bbfc1fa..0079ade 100644
--- a/systests/oidc/src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java
+++ b/systests/oidc/src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java
@@ -736,7 +736,7 @@ public class OIDCTest {
         JwtToken jwt = jwtConsumer.getJwtToken();
 
         // Validate claims
-        Assert.assertEquals("alice", jwt.getClaim(JwtConstants.CLAIM_SUBJECT));
+        Assert.assertEquals("alice", jwt.getClaim("preferred_username"));
         Assert.assertEquals("accounts.fediz.com", jwt.getClaim(JwtConstants.CLAIM_ISSUER));
         Assert.assertEquals(audience, jwt.getClaim(JwtConstants.CLAIM_AUDIENCE));
         Assert.assertNotNull(jwt.getClaim(JwtConstants.CLAIM_EXPIRY));


Mime
View raw message