From c8bfbe98116f935ce3ac1f8e550d30f7a1ce2e7e Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Mon, 24 Apr 2023 14:04:17 +0700 Subject: [PATCH] don't send needless params to setup --- app/apptesting/test_suite.go | 2 +- app/test_helpers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/apptesting/test_suite.go b/app/apptesting/test_suite.go index 329a72ccc..783cc8f90 100644 --- a/app/apptesting/test_suite.go +++ b/app/apptesting/test_suite.go @@ -37,7 +37,7 @@ import ( type KeeperTestHelper struct { suite.Suite - App *app.TokenApp + App *app.App Ctx sdk.Context QueryHelper *baseapp.QueryServiceTestHelper TestAccs []sdk.AccAddress diff --git a/app/test_helpers.go b/app/test_helpers.go index 576871fc5..6a147e660 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -62,7 +62,7 @@ type EmptyAppOptions struct{} func (EmptyAppOptions) Get(_ string) interface{} { return nil } -func Setup(t *testing.T, _ bool, _ uint) *App { +func Setup(t *testing.T) *App { t.Helper() privVal := apphelpers.NewPV()