Skip to content

Commit

Permalink
#161 Fixing tests for pheye.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Nov 19, 2024
1 parent 9bf5c65 commit 3477310
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void replacement2() throws Exception {

final Replacement replacement = strategy.getReplacement("PER", "context", "docId", "token", WINDOW, new Crypto(), new FPE(), anonymizationService, null);

Assertions.assertEquals("REDACTION-pheye", replacement.getReplacement());
Assertions.assertEquals("REDACTION-person", replacement.getReplacement());

}

Expand Down Expand Up @@ -97,7 +97,7 @@ public void replacement4() throws Exception {

final Replacement replacement = strategy.getReplacement("PER", "context", "docId", "token", WINDOW, new Crypto(), new FPE(), anonymizationService, null);

Assertions.assertEquals("{{{REDACTED-pheye}}}", replacement.getReplacement());
Assertions.assertEquals("{{{REDACTED-person}}}", replacement.getReplacement());

}

Expand All @@ -115,7 +115,7 @@ public void replacement5() throws Exception {

final Replacement replacement = strategy.getReplacement("PER", "context", "docId", "token", WINDOW, new Crypto(), new FPE(), anonymizationService, null);

Assertions.assertEquals("<ENTITY:pheye>token</ENTITY>", replacement.getReplacement());
Assertions.assertEquals("<ENTITY:person>token</ENTITY>", replacement.getReplacement());

}

Expand Down

0 comments on commit 3477310

Please sign in to comment.