RED-6929: Fix Acceptance Tests/Rules

This commit is contained in:
Kilian Schüttler 2023-07-03 20:19:25 +02:00
parent f54727ec8d
commit 23d14db2d9

View File

@ -130,7 +130,7 @@ rule "CBI.1.1: Redact CBI Address (Vertebrate Study)"
// Rule unit: CBI.2
rule "CBI.2.0: Don't redact genitive CBI_author"
when
$entity: RedactionEntity(type == "CBI_author", anyMatch(textAfter, "[''ʼˈ´`ʻ']s"), getIsApplied())
$entity: RedactionEntity(type == "CBI_author", anyMatch(textAfter, "[''ʼˈ´`ʻ']s"), isApplied())
then
RedactionEntity falsePositive = entityCreationService.byBoundary($entity.getBoundary(), "CBI_author", EntityType.FALSE_POSITIVE, document);
falsePositive.skip("CBI.2.0", "Genitive Author found");