Skip to content

Commit

Permalink
test: test cmd.Execute
Browse files Browse the repository at this point in the history
  • Loading branch information
Skisocks committed Jun 13, 2024
1 parent 96193a9 commit 41f87ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/upgrade/upgrade_plugins_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
func TestUpgrade(t *testing.T) {
t.Parallel()

_, o := upgrade.NewCmdUpgradePlugins()
cmd, _ := upgrade.NewCmdUpgradePlugins()

err := o.Run()
err := cmd.Execute()
require.NoError(t, err, "failed to run upgrade command")
}

0 comments on commit 41f87ae

Please sign in to comment.