From 5e99a25bdcfc4a53e3296b3cb7f30b0a2c2809a7 Mon Sep 17 00:00:00 2001 From: sahandilshan Date: Tue, 19 Dec 2023 14:40:15 +0530 Subject: [PATCH] Fix review suggestions --- .../test/oauth2/OAuth2ServiceImplicitGrantTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OAuth2ServiceImplicitGrantTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OAuth2ServiceImplicitGrantTestCase.java index e6193ebec29..237c7276016 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OAuth2ServiceImplicitGrantTestCase.java +++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OAuth2ServiceImplicitGrantTestCase.java @@ -239,6 +239,6 @@ public void testValidateAccessToken() throws Exception { Assert.assertNotNull(responseObj, "Validate access token failed. response is invalid."); Assert.assertEquals(responseObj.get("active"), true, "Token Validation failed"); // Only the allowed scopes should be returned and Random Scope should not be returned. - Assert.assertTrue(StringUtils.equals((String) responseObj.get("scope"), VALID_SCOPES), "Token Validation failed"); + Assert.assertTrue(StringUtils.equals((String) responseObj.get("scope"), VALID_SCOPES), "Scope Validation failed"); } }