Skip to content

Commit 2b4288c

Browse files
committed
enable testing of secrets in system flags
1 parent 2f6da90 commit 2b4288c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/flags/flags_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ func TestGetSliceSecretsFromFiles(t *testing.T) {
9999
func testGetSecretsFromFiles(t *testing.T, flagName string, expected string, args ...string) {
100100
cmd := new(cobra.Command)
101101
SetDefaults()
102+
RegisterSystemFlags(cmd)
102103
RegisterNotificationFlags(cmd)
103104
require.NoError(t, cmd.ParseFlags(args))
104105
GetSecretsFromFiles(cmd)

0 commit comments

Comments
 (0)