RED-10186 - Unlinked annotation with manual changes still linked and removed in specific corner case
- update unit test
This commit is contained in:
parent
f2df7fe783
commit
1664820a82
@ -517,7 +517,7 @@ public class FileTest extends AbstractPersistenceServerServiceTest {
|
|||||||
annotationComments = manualRedactionClient.getComments(dossierId, fileId, commentId);
|
annotationComments = manualRedactionClient.getComments(dossierId, fileId, commentId);
|
||||||
assertThat(annotationComments.getComments()).hasSize(1);
|
assertThat(annotationComments.getComments()).hasSize(1);
|
||||||
annotationCommentsForManualRedactions = manualRedactionClient.getComments(dossierId, fileId, annotationId);
|
annotationCommentsForManualRedactions = manualRedactionClient.getComments(dossierId, fileId, annotationId);
|
||||||
assertThat(annotationCommentsForManualRedactions.getComments()).hasSize(2);
|
assertThat(annotationCommentsForManualRedactions.getComments()).hasSize(1);
|
||||||
|
|
||||||
fileManagementClient.hardDeleteFiles(dossier.getId(), List.of(file.getId()));
|
fileManagementClient.hardDeleteFiles(dossier.getId(), List.of(file.getId()));
|
||||||
softDeletedFiles = fileClient.getSoftDeletedDossierStatus(dossier.getId());
|
softDeletedFiles = fileClient.getSoftDeletedDossierStatus(dossier.getId());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user