fix: fix the cli test cases for modules

This commit is contained in:
Sai Kumar
2022-04-29 09:50:27 +05:30
parent 752fb3944f
commit 760cddf698
7 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -9,6 +9,6 @@ import (
func TestIntegrationTestSuite(t *testing.T) {
cfg := network.DefaultConfig()
cfg.NumValidators = 1
cfg.NumValidators = 2
suite.Run(t, NewIntegrationTestSuite(cfg))
}
+2 -2
View File
@@ -175,7 +175,7 @@ func (s *IntegrationTestSuite) TestGetQueryBondById() {
{
"invalid bond id",
[]string{
fmt.Sprint("not_found_bond_id"),
"not_found_bond_id",
fmt.Sprintf("--%s=json", tmcli.OutputFlag),
},
true,
@@ -246,7 +246,7 @@ func (s *IntegrationTestSuite) TestGetQueryBondListsByOwner() {
{
"invalid owner address",
[]string{
fmt.Sprint("not_found_bond_id"),
"not_found_bond_id",
fmt.Sprintf("--%s=json", tmcli.OutputFlag),
},
true,