Pull request #107: RED-2817
Merge in RED/redaction-report-service from RED-2817-rrs1 to master * commit 'dbf23750b318747f7368ed4e46649331c6e0f23f': RED-2817 Redactions with new-line included in IUCLID-Report too
This commit is contained in:
commit
aface67e13
@ -37,7 +37,7 @@ public class IuclidFunctionService {
|
||||
if(StringUtils.isBlank(entry.getValue()) || entry.getValue().equalsIgnoreCase("Rectangle")) {
|
||||
s.append("non-readable content");
|
||||
} else {
|
||||
s.append(entry.getValue());
|
||||
s.append(entry.getValue().replaceAll("\n", " ").replaceAll(" ", " "));
|
||||
}
|
||||
if (iterator.hasNext()) {
|
||||
s.append(", ");
|
||||
|
||||
@ -423,7 +423,7 @@ public class RedactionReportIntegrationTest {
|
||||
public void testIuclidReport() {
|
||||
String dossierTemplateId = "dossierTemplateId";
|
||||
|
||||
ClassPathResource redactionLogResource = new ClassPathResource("files/redaction-log.json");
|
||||
ClassPathResource redactionLogResource = new ClassPathResource("files/redactionLog2817.json");
|
||||
|
||||
RedactionLog redactionLog = objectMapper.readValue(redactionLogResource.getInputStream(), RedactionLog.class);
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user