Settings: Redact token keyword (#97395)
* Settings: Redact token keyword * Be more specific * Given section is part of key, be more specific * Fix test
This commit is contained in:
@@ -528,6 +528,12 @@ func TestRedactedValue(t *testing.T) {
|
||||
value: "",
|
||||
expected: "",
|
||||
},
|
||||
{
|
||||
desc: "authentication_token",
|
||||
key: "my_authentication_token",
|
||||
value: "test",
|
||||
expected: RedactedPassword,
|
||||
},
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
|
||||
Reference in New Issue
Block a user