Skip to content

Commit

Permalink
refactor(group): CLI tests using Tendermint Mock (cosmos#13067)
Browse files Browse the repository at this point in the history
  • Loading branch information
likhita-809 authored and Wryhder committed Oct 26, 2022
1 parent 999db4c commit 8e8f17e
Show file tree
Hide file tree
Showing 4 changed files with 1,842 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
//go:build e2e
// +build e2e

package testutil
package group

import (
"testing"

"github.com/cosmos/cosmos-sdk/simapp"
"github.com/cosmos/cosmos-sdk/testutil/network"
clienttestutil "github.com/cosmos/cosmos-sdk/x/group/client/testutil"

"github.com/stretchr/testify/suite"
)

func TestIntegrationTestSuite(t *testing.T) {
cfg := network.DefaultConfig(simapp.NewTestNetworkFixture)
cfg.NumValidators = 2
suite.Run(t, clienttestutil.NewIntegrationTestSuite(cfg))
suite.Run(t, NewIntegrationTestSuite(cfg))
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package testutil
package group

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion x/group/client/testutil/tx.go → tests/e2e/group/tx.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package testutil
package group

import (
"encoding/base64"
Expand Down
Loading

0 comments on commit 8e8f17e

Please sign in to comment.