From 31041eb08a8e8c2c22d9e837b8bcfd41bebaf34f Mon Sep 17 00:00:00 2001 From: Sohan Kumar Dey <72375959+Sohandey@users.noreply.github.com> Date: Wed, 4 Oct 2023 16:52:48 +0530 Subject: [PATCH] MOSIP-29286 --- .../ida/certificate/KeyCloakUserAndAPIKeyGeneration.java | 4 ++-- .../io/mosip/testrig/apirig/testrunner/MosipTestRunner.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/automationtests/src/main/java/io/mosip/testrig/apirig/ida/certificate/KeyCloakUserAndAPIKeyGeneration.java b/automationtests/src/main/java/io/mosip/testrig/apirig/ida/certificate/KeyCloakUserAndAPIKeyGeneration.java index 5c0e14af952..9015fd0ea6f 100644 --- a/automationtests/src/main/java/io/mosip/testrig/apirig/ida/certificate/KeyCloakUserAndAPIKeyGeneration.java +++ b/automationtests/src/main/java/io/mosip/testrig/apirig/ida/certificate/KeyCloakUserAndAPIKeyGeneration.java @@ -59,7 +59,7 @@ public static String submittingPartnerAndGetMappingKey() { HashMap requestBody = new HashMap<>(); - requestBody.put("policyName", policyName2); + requestBody.put("policyName", policyName); requestBody.put("useCaseDescription", "mapping Partner to policyName"); HashMap body = new HashMap<>(); @@ -89,7 +89,7 @@ public static String submittingPartnerAndGetMappingKeyForKyc() { HashMap requestBody = new HashMap<>(); - requestBody.put("policyName", policyName); + requestBody.put("policyName", policyName2); requestBody.put("useCaseDescription", "mapping Partner to policyName"); HashMap body = new HashMap<>(); diff --git a/automationtests/src/main/java/io/mosip/testrig/apirig/testrunner/MosipTestRunner.java b/automationtests/src/main/java/io/mosip/testrig/apirig/testrunner/MosipTestRunner.java index 5963351bdfd..d32970e9066 100644 --- a/automationtests/src/main/java/io/mosip/testrig/apirig/testrunner/MosipTestRunner.java +++ b/automationtests/src/main/java/io/mosip/testrig/apirig/testrunner/MosipTestRunner.java @@ -125,7 +125,8 @@ public static void main(String[] arg) { } else if (BaseTestCase.listOfModules.contains("auth") || BaseTestCase.listOfModules.contains(GlobalConstants.ESIGNET)) { - if (partnerKeyURL.isEmpty() || ekycPartnerKeyURL.isEmpty()) + if (partnerKeyURL.isEmpty()) + // if (partnerKeyURL.isEmpty() || ekycPartnerKeyURL.isEmpty()) LOGGER.error("partnerKeyURL is null"); else startTestRunner();