diff --git a/x/fbridge/client/cli/tx_test.go b/x/fbridge/client/cli/tx_test.go index 89cf704c4e..9024e51a05 100644 --- a/x/fbridge/client/cli/tx_test.go +++ b/x/fbridge/client/cli/tx_test.go @@ -110,6 +110,17 @@ func (s *CLITestSuite) TestNewTransferTxCmd() { respType proto.Message expectedCode uint32 }{ + { + name: "valid request", + args: cliArgs( + s.addrs[1].String(), + "10stake", + fmt.Sprintf("--%s=%s", flags.FlagFrom, s.addrs[0]), + ), + expectErr: false, + respType: &sdk.TxResponse{}, + expectedCode: 0, + }, { name: "invalid from address", args: cliArgs( @@ -132,12 +143,10 @@ func (s *CLITestSuite) TestNewTransferTxCmd() { name: "valid request", args: cliArgs( s.addrs[1].String(), - "10stake", + "10stake,20cony", fmt.Sprintf("--%s=%s", flags.FlagFrom, s.addrs[0]), ), - expectErr: false, - respType: &sdk.TxResponse{}, - expectedCode: 0, + expectErr: true, }, }