From 6bb783a13332581d8f516dedb17092263cae79d7 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Thu, 25 Aug 2022 20:18:35 +0700 Subject: [PATCH] fix proposal integration test: line 178 shoud be require.Error --- x/wasm/keeper/proposal_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())