Skip to content

Commit 2f9261d

Browse files
committed
tests: remove token_last_characters from comparator
1 parent 58de571 commit 2f9261d

2 files changed

Lines changed: 289 additions & 293 deletions

File tree

src/sentry/backup/comparators.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -666,9 +666,7 @@ def get_default_comparators():
666666
default_comparators: ComparatorMap = defaultdict(
667667
list,
668668
{
669-
"sentry.apitoken": [
670-
HashObfuscatingComparator("refresh_token", "token", "token_last_characters")
671-
],
669+
"sentry.apitoken": [HashObfuscatingComparator("refresh_token", "token")],
672670
"sentry.apiapplication": [HashObfuscatingComparator("client_id", "client_secret")],
673671
"sentry.authidentity": [HashObfuscatingComparator("ident", "token")],
674672
"sentry.alertrule": [DateUpdatedComparator("date_modified")],

0 commit comments

Comments
 (0)