Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Mar 11, 2024
1 parent 287cc1f commit 7dd0c9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/gov/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func TestImportExportQueues_ErrorUnconsistentState(t *testing.T) {
app := suite.app
ctx := app.BaseApp.NewContext(false)

params := v1.DefaultParams()
err := gov.InitGenesis(ctx, suite.AccountKeeper, suite.BankKeeper, suite.GovKeeper, &v1.GenesisState{
Deposits: v1.Deposits{
{
Expand All @@ -218,8 +219,9 @@ func TestImportExportQueues_ErrorUnconsistentState(t *testing.T) {
},
},
},
Params: &params,
})
require.NoError(t, err)
require.Error(t, err)
err = gov.InitGenesis(ctx, suite.AccountKeeper, suite.BankKeeper, suite.GovKeeper, v1.DefaultGenesisState())
require.NoError(t, err)
genState, err := gov.ExportGenesis(ctx, suite.GovKeeper)
Expand Down

0 comments on commit 7dd0c9c

Please sign in to comment.