Skip to content

Commit

Permalink
fix proposal integration test: line 178 shoud be require.Error
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Aug 25, 2022
1 parent 9fd778e commit 6bb783a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/wasm/keeper/proposal_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func TestInstantiateProposal_NoAdmin(t *testing.T) {

// when stored
_, err = govKeeper.SubmitProposal(ctx, []sdk.Msg{msgContent}, "testing 123")
require.NoError(t, err)
require.Error(t, err)

// and proposal execute
handler := govKeeper.LegacyRouter().GetRoute(src.ProposalRoute())
Expand Down

0 comments on commit 6bb783a

Please # to comment.