diff --git a/redaction-service-v1/redaction-service-server-v1/src/test/resources/drools/rules.drl b/redaction-service-v1/redaction-service-server-v1/src/test/resources/drools/rules.drl index 075a6683..b031c21d 100644 --- a/redaction-service-v1/redaction-service-server-v1/src/test/resources/drools/rules.drl +++ b/redaction-service-v1/redaction-service-server-v1/src/test/resources/drools/rules.drl @@ -129,7 +129,7 @@ rule "10: Redact Authors and Addresses in Reference Table if it is a Vertebrate rule "11: Redact sponsor company" when - Section(text.toLowerCase().contains("batches produced at")) + Section(searchText.toLowerCase().contains("batches produced at")) then section.redactIfPrecededBy("batches produced at", "sponsor", 11, "Redacted because it represents a sponsor company", "Reg (EC) No 1107/2009 Art. 63 (2g)"); end \ No newline at end of file