From d201c05bf1dd35b1eb0b532c1ebdc5cc6e00f4f1 Mon Sep 17 00:00:00 2001 From: Daniel Wedul Date: Thu, 1 Feb 2024 19:59:02 -0700 Subject: [PATCH] [1789]: A couple small tweaks to the cli tests. --- x/exchange/client/cli/query_test.go | 1 + x/exchange/client/cli/tx_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/x/exchange/client/cli/query_test.go b/x/exchange/client/cli/query_test.go index 9e4e22e3eb..1926aa9fea 100644 --- a/x/exchange/client/cli/query_test.go +++ b/x/exchange/client/cli/query_test.go @@ -6,6 +6,7 @@ import ( "strings" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/provenance-io/provenance/x/exchange" ) diff --git a/x/exchange/client/cli/tx_test.go b/x/exchange/client/cli/tx_test.go index 48f0918e1b..b9a4dab28c 100644 --- a/x/exchange/client/cli/tx_test.go +++ b/x/exchange/client/cli/tx_test.go @@ -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",