diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OAuth2ServiceAbstractIntegrationTest.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OAuth2ServiceAbstractIntegrationTest.java index 92cfa597811..b31f69e04ac 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OAuth2ServiceAbstractIntegrationTest.java +++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OAuth2ServiceAbstractIntegrationTest.java @@ -913,7 +913,7 @@ public void authorizeSystemAPIs(String applicationId, List apiIdentifier apiIdentifiers.stream().forEach(apiIdentifier -> { try { List filteredAPIResource = - restClient.getAPIResourcesWithFiltering("type+eq+SYSTEM+and+identifier+eq+" + apiIdentifier); + restClient.getAPIResourcesWithFiltering("identifier+eq+" + apiIdentifier); if (filteredAPIResource == null || filteredAPIResource.isEmpty()) { return; }