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 committed Jul 4, 2022
1 parent 5dcf2b2 commit 6d331bb
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 @@ -302,7 +302,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(),
"janitor",
Expand Down

0 comments on commit 6d331bb

Please sign in to comment.