Fix Current Integration Tests (#6570)

* fix attempt

* fix test
This commit is contained in:
Alexander Bezobchuk
2020-07-01 18:37:59 +00:00
committed by GitHub
parent 2658175b01
commit 37cc04081e
10 changed files with 37 additions and 362 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func TestCLICreateValidator(t *testing.T) {
bankclienttestutil.TxSend(f, cli.KeyFoo, barAddr, sdk.NewCoin(cli.Denom, sendTokens), "-y")
tests.WaitForNextNBlocksTM(1, f.Port)
require.Equal(t, sendTokens, bankclienttestutil.QueryBalances(f, barAddr).AmountOf(cli.Denom))
require.Equal(t, sendTokens.String(), bankclienttestutil.QueryBalances(f, barAddr).AmountOf(cli.Denom).String())
// Generate a create validator transaction and ensure correctness
success, stdout, stderr := testutil.TxStakingCreateValidator(f, barAddr.String(), consPubKey, sdk.NewInt64Coin(cli.Denom, 2), "--generate-only")