From 42d83c3273daa1d29d06190c3f7000733397384d Mon Sep 17 00:00:00 2001 From: Nandhukumar <100744358+nandhu-kumar@users.noreply.github.com> Date: Wed, 8 Jan 2025 18:38:53 +0530 Subject: [PATCH] MOSIP-35404 (#1076) Signed-off-by: Nandhukumar --- .../java/io/mosip/testrig/apirig/testscripts/GetWithParam.java | 1 - .../mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java | 1 - .../java/io/mosip/testrig/apirig/testscripts/SimplePatch.java | 1 - .../java/io/mosip/testrig/apirig/testscripts/SimplePost.java | 1 - .../mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java | 1 - .../mosip/testrig/apirig/testscripts/SimplePostWithoutBody.java | 1 - .../main/java/io/mosip/testrig/apirig/testscripts/SimplePut.java | 1 - 7 files changed, 7 deletions(-) diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParam.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParam.java index c38bde7880..218286e0a9 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParam.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParam.java @@ -79,7 +79,6 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); - testCaseName = isTestCaseValidForExecution(testCaseDTO); if (HealthChecker.signalTerminateExecution) { throw new SkipException( GlobalConstants.TARGET_ENV_HEALTH_CHECK_FAILED + HealthChecker.healthCheckFailureMapS); diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java index 76df394ee9..9473cbfdc8 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java @@ -78,7 +78,6 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); - testCaseName = isTestCaseValidForExecution(testCaseDTO); String[] templateFields = testCaseDTO.getTemplateFields(); if (HealthChecker.signalTerminateExecution) { throw new SkipException( diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePatch.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePatch.java index 6f8a267f8b..0cf84325b2 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePatch.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePatch.java @@ -78,7 +78,6 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); - testCaseName = isTestCaseValidForExecution(testCaseDTO); String[] templateFields = testCaseDTO.getTemplateFields(); if (HealthChecker.signalTerminateExecution) { throw new SkipException( diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePost.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePost.java index 519f1debce..dc650b5f37 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePost.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePost.java @@ -79,7 +79,6 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); - testCaseName = isTestCaseValidForExecution(testCaseDTO); auditLogCheck = testCaseDTO.isAuditLogCheck(); String[] templateFields = testCaseDTO.getTemplateFields(); if (HealthChecker.signalTerminateExecution) { diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java index 651e7f57a9..e31662d582 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java @@ -91,7 +91,6 @@ public void test(TestCaseDTO testCaseDTO) } - testCaseName = isTestCaseValidForExecution(testCaseDTO); String[] templateFields = testCaseDTO.getTemplateFields(); String inputJson = getJsonFromTemplate(testCaseDTO.getInput(), testCaseDTO.getInputTemplate()); diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostWithoutBody.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostWithoutBody.java index 8998c09db6..938d1d119c 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostWithoutBody.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostWithoutBody.java @@ -79,7 +79,6 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); - testCaseName = isTestCaseValidForExecution(testCaseDTO); auditLogCheck = testCaseDTO.isAuditLogCheck(); String[] templateFields = testCaseDTO.getTemplateFields(); if (HealthChecker.signalTerminateExecution) { diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePut.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePut.java index 8cb7acc082..c918fbabfe 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePut.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePut.java @@ -85,7 +85,6 @@ public void test(TestCaseDTO testCaseDTO) throws AdminTestException { } - testCaseName = isTestCaseValidForExecution(testCaseDTO); String[] templateFields = testCaseDTO.getTemplateFields(); if (testCaseDTO.getTemplateFields() != null && templateFields.length > 0) {