Skip to content

Commit

Permalink
tests: cleanup integration test imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Jun 13, 2024
1 parent 9a38284 commit 0d35371
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/gov/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func TestImportExportQueues(t *testing.T) {
require.NoError(t, err)
proposalID1 := proposal1.Id

proposal2, err := s1.GovKeeper.SubmitProposal(ctx, []sdk.Msg{mkTestLegacyContent(t)}, "", "test", "description", addrs[0], true)
proposal2, err := s1.GovKeeper.SubmitProposal(ctx, []sdk.Msg{mkTestLegacyContent(t)}, "", "test", "description", addrs[0], false)
require.NoError(t, err)
proposalID2 := proposal2.Id

Expand Down
3 changes: 2 additions & 1 deletion tests/integration/gov/keeper/grpc_query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ func (suite *KeeperTestSuite) TestGRPCQueryTally() {
{
"create a proposal and get tally",
func() {
proposal, err := app.GovKeeper.SubmitProposal(ctx, TestProposal, "", "test", "description", addrs[0], false)
var err error
proposal, err = app.GovKeeper.SubmitProposal(ctx, TestProposal, "", "test", "description", addrs[0], false)
suite.Require().NoError(err)
suite.Require().NotEqual(proposal.String(), "")

Expand Down

0 comments on commit 0d35371

Please sign in to comment.