Skip to content

Commit

Permalink
fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
likhita-809 committed Sep 25, 2023
1 parent acc2d5d commit 7655e0f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/integration/distribution/keeper/msg_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@ func initFixture(t *testing.T) *fixture {
distrtypes.RegisterMsgServer(integrationApp.MsgServiceRouter(), distrkeeper.NewMsgServerImpl(distrKeeper))
distrtypes.RegisterQueryServer(integrationApp.QueryHelper(), distrkeeper.NewQuerier(distrKeeper))

pooltypes.RegisterMsgServer(integrationApp.MsgServiceRouter(), poolkeeper.NewMsgServerImpl(poolKeeper))
pooltypes.RegisterQueryServer(integrationApp.QueryHelper(), poolkeeper.NewQuerier(poolKeeper))

return &fixture{
app: integrationApp,
sdkCtx: sdkCtx,
Expand Down
1 change: 1 addition & 0 deletions tests/integration/gov/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ var appConfig = configurator.NewAppConfig(
configurator.GovModule(),
configurator.MintModule(),
configurator.ConsensusModule(),
configurator.ProtocolPoolModule(),
)

func TestImportExportQueues(t *testing.T) {
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/gov/module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (

"cosmossdk.io/depinject"
"cosmossdk.io/log"
_ "cosmossdk.io/x/protocolpool"

"github.com/cosmos/cosmos-sdk/testutil/configurator"
simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims"
Expand All @@ -26,6 +27,7 @@ func TestItCreatesModuleAccountOnInitBlock(t *testing.T) {
configurator.BankModule(),
configurator.GovModule(),
configurator.ConsensusModule(),
configurator.ProtocolPoolModule(),
),
depinject.Supply(log.NewNopLogger()),
),
Expand Down
1 change: 1 addition & 0 deletions testutil/configurator/configurator.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ func AuthModule() ModuleOption {
{Account: "not_bonded_tokens_pool", Permissions: []string{"burner", "staking"}},
{Account: "gov", Permissions: []string{"burner"}},
{Account: "nft"},
{Account: "protocol-pool"},
},
}),
}
Expand Down

0 comments on commit 7655e0f

Please sign in to comment.