Commit bc10ab0
committed
test: assert default-field KeyCredential toString keeps the headerName
The default-fields redaction test only asserted the secret was masked. Add an
assertion that the non-secret headerName (Authorization) is still rendered, so
the test pins both halves of the contract like the explicit-fields test does.1 parent 5a951a2 commit bc10ab0
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| |||
0 commit comments