Skip to content

Commit

Permalink
[1789]: A couple small tweaks to the cli tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpicyLemon committed Feb 2, 2024
1 parent b5b783b commit d201c05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions x/exchange/client/cli/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"strings"

sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/provenance-io/provenance/x/exchange"
)

Expand Down
2 changes: 1 addition & 1 deletion x/exchange/client/cli/tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (s *CmdTestSuite) TestCmdTxMarketSettle() {
expInErr: []string{"required flag(s) \"asks\" not set"},
},
{
name: "no permission",
name: "endpoint error",
args: []string{"market-settle", "--from", s.addr9.String(), "--market", "419", "--bids", "18446744073709551614", "--asks", "18446744073709551615"},
expInRawLog: []string{"failed to execute message", "invalid request",
"account " + s.addr9.String() + " does not have permission to settle orders for market 419",
Expand Down

0 comments on commit d201c05

Please sign in to comment.