RED-10186 - Unlinked annotation with manual changes still linked and removed in specific corner case

- update unit test
This commit is contained in:
corinaolariu 2024-11-01 15:34:00 +02:00
parent f2df7fe783
commit 1664820a82

View File

@ -517,7 +517,7 @@ public class FileTest extends AbstractPersistenceServerServiceTest {
annotationComments = manualRedactionClient.getComments(dossierId, fileId, commentId);
assertThat(annotationComments.getComments()).hasSize(1);
annotationCommentsForManualRedactions = manualRedactionClient.getComments(dossierId, fileId, annotationId);
assertThat(annotationCommentsForManualRedactions.getComments()).hasSize(2);
assertThat(annotationCommentsForManualRedactions.getComments()).hasSize(1);
fileManagementClient.hardDeleteFiles(dossier.getId(), List.of(file.getId()));
softDeletedFiles = fileClient.getSoftDeletedDossierStatus(dossier.getId());