Skip to content

Commit

Permalink
[1789]: Add some flags missing from the market settle setup test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpicyLemon committed Feb 2, 2024
1 parent c8e7cf4 commit b5b783b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/exchange/client/cli/tx_setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,9 @@ func TestSetupCmdTxMarketSettle(t *testing.T) {
name: "SetupCmdTxMarketSettle",
setup: cli.SetupCmdTxMarketSettle,
expFlags: []string{
cli.FlagAdmin, cli.FlagAuthority,
cli.FlagMarket, cli.FlagAsks, cli.FlagBids, cli.FlagPartial,
flags.FlagFrom, // not added by setup, but include so the annotation is checked.
},
expAnnotations: map[string]map[string][]string{
flags.FlagFrom: {oneReq: {flags.FlagFrom + " " + cli.FlagAdmin + " " + cli.FlagAuthority}},
Expand Down

0 comments on commit b5b783b

Please sign in to comment.