Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Enable trace logs in test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsporn committed May 6, 2024
1 parent f1b551b commit 67f5e98
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"github.com/iotaledger/hive.go/kvstore"
"github.com/iotaledger/hive.go/kvstore/mapdb"
"github.com/iotaledger/hive.go/lo"
"github.com/iotaledger/hive.go/log"
"github.com/iotaledger/hive.go/runtime/module"
"github.com/iotaledger/iota-core/pkg/model"
"github.com/iotaledger/iota-core/pkg/protocol/engine/accounts"
Expand Down Expand Up @@ -80,7 +81,9 @@ func (t *TestSuite) initAccountLedger() *accountsledger.Manager {
return storage.Get(id)
}

manager := accountsledger.New(module.NewTestModule(t.T), t.apiProvider, blockFunc, slotDiffFunc, mapdb.NewMapDB())
testModule := module.NewTestModule(t.T)
testModule.SetLogLevel(log.LevelTrace)
manager := accountsledger.New(testModule, t.apiProvider, blockFunc, slotDiffFunc, mapdb.NewMapDB())

return manager
}
Expand Down

0 comments on commit 67f5e98

Please sign in to comment.