From 04589cbc08807120b430510f7950ef2523601412 Mon Sep 17 00:00:00 2001 From: Thamindu Aluthwala Date: Thu, 23 Nov 2023 17:16:28 +0530 Subject: [PATCH] Improve integration test --- .../test/oauth2/OAuth2ServiceAbstractIntegrationTest.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/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; }