Skip to content

Commit a24dee0

Browse files
jaekwonjackzampolin
authored andcommitted
Merge PR #3808: Make cli tests use build files
* Make cli tests use build files * Update PENDING.md Add PR number.
1 parent 4816dbe commit a24dee0

File tree

4 files changed

+49
-47
lines changed

4 files changed

+49
-47
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ godocs:
160160

161161
test: test_unit
162162

163-
test_cli:
164-
@go test -p 4 `go list github.com/cosmos/cosmos-sdk/cmd/gaia/cli_test` -tags=cli_test
163+
test_cli: build
164+
@go test -p 4 `go list ./cmd/gaia/cli_test/...` -tags=cli_test
165165

166166
test_ledger:
167167
# First test with mock

PENDING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838

3939
### Gaia
4040

41+
* #3808 `gaiad` and `gaiacli` integration tests use ./build/ binaries.
42+
4143
### SDK
4244

4345
### Tendermint

client/lcd/test_helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ func doTransfer(
668668
resp, body, recvAddr := doTransferWithGas(
669669
t, port, seed, name, memo, pwd, addr, "", 1.0, false, true, fees,
670670
)
671-
require.Equal(t, http.StatusOK, resp.StatusCode, resp)
671+
require.Equal(t, http.StatusOK, resp.StatusCode, body)
672672

673673
var txResp sdk.TxResponse
674674
err := cdc.UnmarshalJSON([]byte(body), &txResp)

0 commit comments

Comments
 (0)