diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/utils/DataExtractUtil.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/utils/DataExtractUtil.java index 3dba6c47597..ffd0031888e 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/utils/DataExtractUtil.java +++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/utils/DataExtractUtil.java @@ -229,7 +229,7 @@ public static String extractAccessTokenFromQueryString(String query) { String[] params = query.split("&"); for (String param : params) { String name = param.split("=")[0]; - if (name.contains("access_token")) { + if (name.contains(OAuth2Constant.ACCESS_TOKEN)) { return param.split("=")[1]; } }