Skip to content

Commit

Permalink
fix failing tests & improve covereage
Browse files Browse the repository at this point in the history
  • Loading branch information
NagaTulasi committed Sep 17, 2024
1 parent d3f8b96 commit 9c08ccf
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 340 deletions.
180 changes: 0 additions & 180 deletions keeper/client.go

This file was deleted.

3 changes: 0 additions & 3 deletions keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"github.com/stretchr/testify/suite"
cada "github.com/vitwit/avail-da-module"
"github.com/vitwit/avail-da-module/keeper"
mocks "github.com/vitwit/avail-da-module/keeper/mocks"
module "github.com/vitwit/avail-da-module/module"
"github.com/vitwit/avail-da-module/types"
)
Expand All @@ -40,7 +39,6 @@ type TestSuite struct {
encCfg moduletestutil.TestEncodingConfig
addressCodec addresstypes.Codec
baseApp *baseapp.BaseApp
mockKeeper *mocks.MockKeeper
appOpts servertypes.AppOptions
app *cadaApp.ChainApp
upgradeKeeper upgradekeeper.Keeper
Expand All @@ -57,7 +55,6 @@ func TestKeeperTestSuite(t *testing.T) {

func (s *TestSuite) SetupTest() {
key := storetypes.NewKVStoreKey(cada.ModuleName)
s.mockKeeper = new(mocks.MockKeeper)
storeService := runtime.NewKVStoreService(key)
testCtx := testutil.DefaultContextWithDB(s.T(), key, storetypes.NewTransientStoreKey("transient_test"))
s.ctx = testCtx.Ctx.WithBlockHeader(cmtproto.Header{Time: cmttime.Now()})
Expand Down
28 changes: 0 additions & 28 deletions keeper/mocks/mock_keeper.go

This file was deleted.

Loading

0 comments on commit 9c08ccf

Please sign in to comment.