diff --git a/x/wasm/keeper/proposal_integration_test.go b/x/wasm/keeper/proposal_integration_test.go index 0b9bbc8378..209ccbc355 100644 --- a/x/wasm/keeper/proposal_integration_test.go +++ b/x/wasm/keeper/proposal_integration_test.go @@ -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())