Skip to content

Commit

Permalink
Update test anonymiser
Browse files Browse the repository at this point in the history
  • Loading branch information
hugorodgerbrown committed Sep 19, 2023
1 parent d150afc commit 502b9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/anonymisers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def anonymise_first_name(self, obj: User) -> None:
class UserRedacter(BaseAnonymiser):
model = User

field_redactions = {
custom_field_redactions = {
"first_name": "FIRST_NAME",
"last_name": "LAST_NAME",
"email": Concat(Value("user_"), F("id"), Value("@example.com")),
Expand Down

0 comments on commit 502b9a9

Please sign in to comment.