Skip to content

Commit

Permalink
TestCoinSend: test success case when setting gas by hand
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio committed Aug 24, 2018
1 parent 7e9ceb4 commit 2dea467
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/lcd/lcd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ func TestCoinSend(t *testing.T) {
// test failure with too little gas
res, body, _ = doSendWithGas(t, port, seed, name, password, addr, 100)
require.Equal(t, http.StatusInternalServerError, res.StatusCode, body)

// test success with just enough gas
res, body, _ = doSendWithGas(t, port, seed, name, password, addr, 3000)
require.Equal(t, http.StatusOK, res.StatusCode, body)
}

func TestIBCTransfer(t *testing.T) {
Expand Down

0 comments on commit 2dea467

Please sign in to comment.