RED-9495 - Remove here for locally resized dictionary entry should remove the entry completly
- update unit test
This commit is contained in:
parent
84ebccfe79
commit
a8af78c501
@ -1784,7 +1784,7 @@ public class ManualRedactionTest extends AbstractPersistenceServerServiceTest {
|
|||||||
.anyMatch(entry -> entry.getAnnotationId().equals("forceRedactionAnnotation2")));
|
.anyMatch(entry -> entry.getAnnotationId().equals("forceRedactionAnnotation2")));
|
||||||
assertTrue(allManualRedactions.getForceRedactions()
|
assertTrue(allManualRedactions.getForceRedactions()
|
||||||
.stream()
|
.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);
|
unprocessedManualRedactions = manualRedactionClient.getManualRedactions(dossier.getId(), file.getId(), true, true);
|
||||||
assertEquals(unprocessedManualRedactions.getForceRedactions().size(), 1);
|
assertEquals(unprocessedManualRedactions.getForceRedactions().size(), 1);
|
||||||
@ -1799,7 +1799,7 @@ public class ManualRedactionTest extends AbstractPersistenceServerServiceTest {
|
|||||||
.anyMatch(entry -> entry.getAnnotationId().equals("forceRedactionAnnotation2")));
|
.anyMatch(entry -> entry.getAnnotationId().equals("forceRedactionAnnotation2")));
|
||||||
assertTrue(unprocessedManualRedactions.getForceRedactions()
|
assertTrue(unprocessedManualRedactions.getForceRedactions()
|
||||||
.stream()
|
.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(),
|
fileProcessingClient.analysisSuccessful(dossier.getId(),
|
||||||
file.getId(),
|
file.getId(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user