summaryrefslogtreecommitdiff
path: root/internal/typeutils/converter_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/typeutils/converter_test.go')
-rw-r--r--internal/typeutils/converter_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/typeutils/converter_test.go b/internal/typeutils/converter_test.go
index 424b0de29..041182369 100644
--- a/internal/typeutils/converter_test.go
+++ b/internal/typeutils/converter_test.go
@@ -20,7 +20,6 @@ package typeutils_test
import (
"github.com/go-fed/activity/streams/vocab"
- "github.com/sirupsen/logrus"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/db"
@@ -327,7 +326,6 @@ type TypeUtilsTestSuite struct {
suite.Suite
config *config.Config
db db.DB
- log *logrus.Logger
testAccounts map[string]*gtsmodel.Account
testStatuses map[string]*gtsmodel.Status
testPeople map[string]vocab.ActivityStreamsPerson
@@ -338,11 +336,11 @@ type TypeUtilsTestSuite struct {
func (suite *TypeUtilsTestSuite) SetupSuite() {
suite.config = testrig.NewTestConfig()
suite.db = testrig.NewTestDB()
- suite.log = testrig.NewTestLog()
+ testrig.InitTestLog()
suite.testAccounts = testrig.NewTestAccounts()
suite.testStatuses = testrig.NewTestStatuses()
suite.testPeople = testrig.NewTestFediPeople()
- suite.typeconverter = typeutils.NewConverter(suite.config, suite.db, suite.log)
+ suite.typeconverter = typeutils.NewConverter(suite.config, suite.db)
}
func (suite *TypeUtilsTestSuite) SetupTest() {