Skip to content

Commit

Permalink
fixed TestStatusCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbono3 committed Feb 1, 2021
1 parent a031535 commit 03c9368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testutil/cli/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func ExecTestCLICmd(clientCtx client.Context, cmd *cobra.Command, extraArgs []st
_, out := testutil.ApplyMockIO(cmd)
clientCtx = clientCtx.WithOutput(out)

ctx := cmd.Context()
ctx := context.Background()
ctx = context.WithValue(ctx, client.ClientContextKey, &clientCtx)

if err := cmd.ExecuteContext(ctx); err != nil {
Expand Down

0 comments on commit 03c9368

Please sign in to comment.