Skip to content

Commit

Permalink
Merge pull request #1662 from nandhu-kumar/develop
Browse files Browse the repository at this point in the history
ES-1674 | Separate API Test Rigs for eSignet Sign-Up Service and eSignet Service
  • Loading branch information
mohanachandran-s authored Oct 29, 2024
2 parents 5368f35 + 08b2bc6 commit c9523fa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ public class AdminTestUtil extends BaseTestCase {
String mimotoAutoGeneratedIdPropFileName = properties.getProperty("mimotoAutoGeneratedIdPropFileName");
String pmsAutoGeneratedIdPropFileName = properties.getProperty("pmsAutoGeneratedIdPropFileName");
String injiCertifyAutoGeneratedIdPropFileName = properties.getProperty("injiCertifyAutoGeneratedIdPropFileName");
String signupAutoGeneratedIdPropFileName = properties.getProperty("signupAutoGeneratedIdPropFileName");
String fullNameForSunBirdRC = properties.getProperty("fullNameForSunBirdRC");
String dobForSunBirdRC = properties.getProperty("dobForSunBirdRC");

Expand Down Expand Up @@ -2874,6 +2875,10 @@ public static void initiateMimotoTest() {
public static void initiateesignetTest() {
copyEsignetTestResource();
}

public static void initiateSignupTest() {
copySignupTestResource();
}

public static void initiateSyncDataTest() {
copySyncDataTestResource();
Expand All @@ -2894,6 +2899,10 @@ public static void copyMimotoTestResource() {
public static void copyEsignetTestResource() {
copymoduleSpecificAndConfigFile(GlobalConstants.ESIGNET);
}

public static void copySignupTestResource() {
copymoduleSpecificAndConfigFile(GlobalConstants.SIGNUP);
}

public static void copySyncDataTestResource() {
copymoduleSpecificAndConfigFile("syncdata");
Expand Down Expand Up @@ -4362,6 +4371,8 @@ else if (testCaseName.toLowerCase().startsWith(GlobalConstants.PARTNERNEW))
autoGenFileName = pmsAutoGeneratedIdPropFileName;
else if (testCaseName.toLowerCase().startsWith(GlobalConstants.INJICERTIFY))
autoGenFileName = injiCertifyAutoGeneratedIdPropFileName;
else if (testCaseName.toLowerCase().startsWith(GlobalConstants.SIGNUP))
autoGenFileName = signupAutoGeneratedIdPropFileName;

else {
autoGenFileName = "default";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public class GlobalConstants {
public static final String MIMOTO = "mimoto";
public static final String INJICERTIFY = "injicertify";
public static final String ESIGNET = "esignet";
public static final String SIGNUP = "signup";
public static final String APIKEY = "apiKey";
public static final String PARTNER_APIKEY = "partnerApiKey";
public static final String PARTNERID = "partnerId";
Expand Down

0 comments on commit c9523fa

Please sign in to comment.