RED-9409 - Excel QC includes hints and big merged empty space
- update junit test to solve sonar issues
This commit is contained in:
parent
2ba5c7427d
commit
9a0156bcd4
@ -461,7 +461,7 @@ public class RedactionReportIntegrationTest {
|
||||
|
||||
@Test
|
||||
@SneakyThrows
|
||||
public void testExcelTemplateQCReportGenerationSingleFile() {
|
||||
void testExcelTemplateQCReportGenerationSingleFile() {
|
||||
|
||||
Dossier dossier = prepareDossier();
|
||||
FileModel fileModel = FileModel.builder().filename("filename").dossierId(dossier.getId()).fileAttributes(Map.of("TestAttribute", "Lorem Ipsum")).build();
|
||||
@ -474,7 +474,7 @@ public class RedactionReportIntegrationTest {
|
||||
List<ReportRedactionEntry> reportEntriesOnPage16 = reportEntries.stream()
|
||||
.filter(entry -> entry.getPage() == 16)
|
||||
.collect(Collectors.toList());
|
||||
assertThat(reportEntriesOnPage16.size()).isEqualTo(3);
|
||||
assertThat(reportEntriesOnPage16).hasSize(3);
|
||||
|
||||
ClassPathResource templateResource = new ClassPathResource("templates/Excel QC (incl. Skipped Redactions).xlsx");
|
||||
|
||||
|
||||
@ -78,7 +78,7 @@ public class EntityLogConverterServiceTest {
|
||||
|
||||
assertNotNull(reportEntries);
|
||||
assertFalse(reportEntries.isEmpty());
|
||||
assertEquals(reportEntries.size(), 62);
|
||||
assertEquals(62, reportEntries.size());
|
||||
assertEquals(reportEntries.get(0).getPage(), 1);
|
||||
assertEquals(reportEntries.get(0).getSection(), "[1]: Section: Rule 1/2: Redact CBI");
|
||||
assertEquals(reportEntries.get(0).getJustification(), "Article 39(e)(3) of Regulation (EC) No 178/2002 ");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user