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:00:35 +02:00
parent c126be9b2d
commit 29469008d2

View File

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