Skip to content

Commit

Permalink
fix: delete unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kynea0b committed Aug 18, 2023
1 parent 3847db7 commit db4ef8e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions x/wasm/keeper/querier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -862,10 +862,6 @@ func TestQueryParams(t *testing.T) {

q := Querier(keeper)

paramsResponse, err := q.Params(sdk.WrapSDKContext(ctx), &types.QueryParamsRequest{})
require.NoError(t, err)
require.NotNil(t, paramsResponse)

specs := map[string]struct {
setParams types.Params
expParams types.Params
Expand All @@ -891,7 +887,7 @@ func TestQueryParams(t *testing.T) {
xCtx, _ := ctx.CacheContext()
keeper.SetParams(xCtx, spec.setParams)

paramsResponse, err = q.Params(sdk.WrapSDKContext(xCtx), &types.QueryParamsRequest{})
paramsResponse, err := q.Params(sdk.WrapSDKContext(xCtx), &types.QueryParamsRequest{})

require.NoError(t, err)
require.NotNil(t, paramsResponse)
Expand Down

0 comments on commit db4ef8e

Please sign in to comment.