mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-02 09:53:19 -06:00
test suites should also directly use the global logrus logger
This commit is contained in:
parent
7018ec27cd
commit
9ab16632de
31 changed files with 39 additions and 72 deletions
|
|
@ -67,7 +67,7 @@ func (suite *UtilTestSuite) SetupSuite() {
|
|||
func (suite *UtilTestSuite) SetupTest() {
|
||||
suite.config = testrig.NewTestConfig()
|
||||
suite.db = testrig.NewTestDB()
|
||||
suite.log = testrig.NewTestLog()
|
||||
testrig.InitTestLog()
|
||||
suite.typeConverter = testrig.NewTestTypeConverter(suite.db)
|
||||
suite.fromClientAPIChan = make(chan messages.FromClientAPI, 100)
|
||||
suite.status = status.New(suite.db, suite.typeConverter, suite.config, suite.fromClientAPIChan)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue