Skip to content

Commit

Permalink
feat: fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
r.v.stupnikov authored and aeneasr committed Dec 6, 2022
1 parent 7a7d55f commit 1acf097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cli/handler_janitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func TestJanitorHandler_Arguments(t *testing.T) {
"janitor",
"memory")
require.Error(t, err)
require.Contains(t, err.Error(), "Janitor requires at least one of --tokens, --requests or --grants to be set")
require.Contains(t, err.Error(), "Janitor requires at least one of --tokens, --requests, --grants or --login-sessions to be set")

cmdx.ExecNoErr(t, cmd.NewRootCmd(nil, nil, nil),
"janitor",
Expand Down

0 comments on commit 1acf097

Please sign in to comment.