RED-9495 - Remove here for locally resized dictionary entry should remove the entry completly

- update unit test
This commit is contained in:
corinaolariu 2024-08-28 14:53:41 +03:00
parent 84ebccfe79
commit a8af78c501

View File

@ -1784,7 +1784,7 @@ public class ManualRedactionTest extends AbstractPersistenceServerServiceTest {
.anyMatch(entry -> entry.getAnnotationId().equals("forceRedactionAnnotation2")));
assertTrue(allManualRedactions.getForceRedactions()
.stream()
.anyMatch(entry -> entry.getAnnotationId().equals(forceResponse2.getManualAddResponses().get(1).getAnnotationId())));
.anyMatch(entry -> entry.getAnnotationId().equals(forceResponse2.getManualAddResponses().get(0).getAnnotationId())));
unprocessedManualRedactions = manualRedactionClient.getManualRedactions(dossier.getId(), file.getId(), true, true);
assertEquals(unprocessedManualRedactions.getForceRedactions().size(), 1);
@ -1799,7 +1799,7 @@ public class ManualRedactionTest extends AbstractPersistenceServerServiceTest {
.anyMatch(entry -> entry.getAnnotationId().equals("forceRedactionAnnotation2")));
assertTrue(unprocessedManualRedactions.getForceRedactions()
.stream()
.anyMatch(entry -> entry.getAnnotationId().equals(forceResponse2.getManualAddResponses().get(1).getAnnotationId())));
.anyMatch(entry -> entry.getAnnotationId().equals(forceResponse2.getManualAddResponses().get(0).getAnnotationId())));
fileProcessingClient.analysisSuccessful(dossier.getId(),
file.getId(),