mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Moved HeaderFormatter to an Option for NewEntryFormatter, updated tests (#22116)
This commit is contained in:
@@ -119,7 +119,7 @@ func TestFormatJSONx_formatRequest(t *testing.T) {
|
||||
WithFormat(JSONxFormat.String()),
|
||||
)
|
||||
require.NoError(t, err)
|
||||
f, err := NewEntryFormatter(cfg, tempStaticSalt, nil)
|
||||
f, err := NewEntryFormatter(cfg, tempStaticSalt)
|
||||
require.NoError(t, err)
|
||||
writer := &JSONxWriter{Prefix: tc.Prefix}
|
||||
formatter, err := NewEntryFormatterWriter(cfg, f, writer)
|
||||
|
||||
Reference in New Issue
Block a user