From d2c5badd5ac03fa5f5e1b8c7c3e52128bd838463 Mon Sep 17 00:00:00 2001 From: sadilchamishka Date: Sun, 3 Dec 2023 01:48:36 +0530 Subject: [PATCH] Integration test refactorings --- .../management/v1/OrganizationManagementBaseTest.java | 3 +-- .../v1/add-admin-user-in-organization-request-body.json | 2 +- .../management/v1/add-organization-request-body.json | 2 +- .../management/v1/disable-organization-request-body.json | 2 +- .../v1/enable-self-organization-onboard-request-body.json | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/OrganizationManagementBaseTest.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/OrganizationManagementBaseTest.java index 5b7286551b3..7fe2d1ce94a 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/OrganizationManagementBaseTest.java +++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/OrganizationManagementBaseTest.java @@ -29,7 +29,7 @@ import java.io.IOException; /** - * Base test class for the OIDC Scope Management REST APIs. + * Base test class for the Organization Management REST APIs. */ public class OrganizationManagementBaseTest extends RESTAPIServerTestBase { @@ -72,5 +72,4 @@ public void testFinish() { RestAssured.basePath = StringUtils.EMPTY; } - } diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/add-admin-user-in-organization-request-body.json b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/add-admin-user-in-organization-request-body.json index 549864486bb..7970e57b9bd 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/add-admin-user-in-organization-request-body.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/add-admin-user-in-organization-request-body.json @@ -11,4 +11,4 @@ }, "password": "Kumar@2023", "userName": "orgAdmin@gmail.com" -} \ No newline at end of file +} diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/add-organization-request-body.json b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/add-organization-request-body.json index 5024710990e..8fc1a55f698 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/add-organization-request-body.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/add-organization-request-body.json @@ -11,4 +11,4 @@ "value": "Sinhala" } ] -} \ No newline at end of file +} diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/disable-organization-request-body.json b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/disable-organization-request-body.json index 26331042b68..1fe88b57ad8 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/disable-organization-request-body.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/disable-organization-request-body.json @@ -4,4 +4,4 @@ "path": "/status", "value": "DISABLED" } -] \ No newline at end of file +] diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/enable-self-organization-onboard-request-body.json b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/enable-self-organization-onboard-request-body.json index ff2365fba1a..60c0bf3f200 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/enable-self-organization-onboard-request-body.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/enable-self-organization-onboard-request-body.json @@ -6,4 +6,4 @@ "value": "true" } ] -} \ No newline at end of file +}