RED-6603 - change Assertions.assertIterableEquals() to assertThat().isEqualTo()
This commit is contained in:
parent
928f9b4a63
commit
4c2b3a7796
@ -10,6 +10,7 @@ import static com.iqser.red.service.redaction.report.v1.server.service.Placehold
|
||||
import static com.iqser.red.service.redaction.report.v1.server.service.PlaceholderService.SEEDS_FUNCTION_JUSTIFICATION_PLACEHOLDER;
|
||||
import static com.iqser.red.service.redaction.report.v1.server.service.PlaceholderService.SEEDS_FUNCTION_REDACTION_GROUPED_BY_JUSTIFICATION_PAGES_PLACEHOLDER;
|
||||
import static com.iqser.red.service.redaction.report.v1.server.utils.OsUtils.getTemporaryDirectory;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
@ -229,7 +230,7 @@ public class RedactionReportIntegrationTest {
|
||||
|
||||
List<String> contentOfParagraphs = getContentOfParagraphs(paragraphs);
|
||||
|
||||
Assertions.assertIterableEquals(expectedContent, contentOfParagraphs);
|
||||
assertThat(contentOfParagraphs).isEqualTo(expectedContent);
|
||||
|
||||
try (FileOutputStream fileOutputStream = new FileOutputStream(getTemporaryDirectory() + "/IUCLID_Template_justification.docx")) {
|
||||
fileOutputStream.write(wordReportGenerationService.toByteArray(doc));
|
||||
@ -283,7 +284,6 @@ public class RedactionReportIntegrationTest {
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Test
|
||||
@SneakyThrows
|
||||
public void testWordSeedReportSingleFile() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user