diff --git a/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/ReportUtil.java b/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/ReportUtil.java index dc042667128..b4ff03b752f 100644 --- a/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/ReportUtil.java +++ b/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/ReportUtil.java @@ -41,11 +41,15 @@ public static String getOutputValidationReport(Map" + dto.getExpValue() + "\r\n" + " " + dto.getActualValue() + "\r\n" + " " + dto.getStatus() + "\r\n" + " \r\n"; } - else if (dto.getStatus().equals("WARNING")) { - htmlforReport = htmlforReport + " \r\n" + " " + dto.getFieldName() + "\r\n" - + " " + dto.getExpValue() + "\r\n" + " " + dto.getActualValue() - + "\r\n" + " " + dto.getStatus() + "\r\n" + " \r\n"; - } + // If it is warning basically we haven't compared or ignored the comparison. + // so no point in printing that content in the report. + /* + * else if (dto.getStatus().equals("WARNING")) { htmlforReport = htmlforReport + + * " \r\n" + " " + dto.getFieldName() + "\r\n" + " " + + * dto.getExpValue() + "\r\n" + " " + dto.getActualValue() + + * "\r\n" + " " + dto.getStatus() + + * "\r\n" + " \r\n"; } + */ } } htmlforReport = htmlforReport + "";