Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
tkxkd0159 committed Jun 20, 2024
1 parent 34d1301 commit 9997642
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions x/fbridge/client/cli/tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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,
},
}

Expand Down

0 comments on commit 9997642

Please sign in to comment.