diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/jwt/urlsafe/URLSafeJWTTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/jwt/urlsafe/URLSafeJWTTestCase.java index b175554f07..1b6191d48a 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/jwt/urlsafe/URLSafeJWTTestCase.java +++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/jwt/urlsafe/URLSafeJWTTestCase.java @@ -212,7 +212,7 @@ public void testEnableJWTAndClaimsForJWTApp() throws Exception { JSONObject jsonHeaderObject = new JSONObject(decodedJWTHeaderString); Assert.assertEquals(jsonHeaderObject.getString("typ"), "JWT"); Assert.assertEquals(jsonHeaderObject.getString("alg"), "RS256"); - Assert.assertFalse(jsonHeaderObject.has("kid")); + Assert.assertTrue(jsonHeaderObject.has("kid")); JSONObject jsonObject = new JSONObject(decodedJWTString); // check default claims