From 23d14db2d966b2c6645c098e88b64b49427d73d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kilian=20Sch=C3=BCttler?= Date: Mon, 3 Jul 2023 20:19:25 +0200 Subject: [PATCH] RED-6929: Fix Acceptance Tests/Rules --- .../src/test/resources/drools/all_rules.drl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redaction-service-v1/redaction-service-server-v1/src/test/resources/drools/all_rules.drl b/redaction-service-v1/redaction-service-server-v1/src/test/resources/drools/all_rules.drl index d35404d1..2e62d4b1 100644 --- a/redaction-service-v1/redaction-service-server-v1/src/test/resources/drools/all_rules.drl +++ b/redaction-service-v1/redaction-service-server-v1/src/test/resources/drools/all_rules.drl @@ -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");