RED-9859: Redactions found by et. al. rule not skipped with published information

- modify unit test
This commit is contained in:
maverickstuder 2024-09-10 13:55:54 +02:00
parent 586f759f8a
commit 4ebbf3ae28

View File

@ -338,7 +338,7 @@ public class RedactionAcceptanceTest extends AbstractRedactionIntegrationTest {
var entityLog = redactionStorageService.getEntityLog(TEST_DOSSIER_ID, TEST_FILE_ID);
var desireeEtAl = findEntityByTypeAndValue(entityLog, "CBI_author", "Desiree").filter(e -> e.getEntryType().equals(EntryType.ENTITY))
.filter(e -> e.getMatchedRule().startsWith("CBI.16"))
.filter(e -> e.getMatchedRule().startsWith("CBI.7"))
.findAny()
.orElseThrow();
IdRemoval removal = buildIdRemoval(desireeEtAl.getId());