diff options
author | 2021-08-31 15:59:12 +0200 | |
---|---|---|
committer | 2021-08-31 15:59:12 +0200 | |
commit | b95c80def6413df85ff53a5bcdbd553936c2d6e2 (patch) | |
tree | fa3fcc7e4bd2deaf371c324279fd6521ffb24445 /internal/processing/status/util_test.go | |
parent | go fmt (diff) | |
download | gotosocial-b95c80def6413df85ff53a5bcdbd553936c2d6e2.tar.xz |
change muchos things
Diffstat (limited to 'internal/processing/status/util_test.go')
-rw-r--r-- | internal/processing/status/util_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/processing/status/util_test.go b/internal/processing/status/util_test.go index 1ec2076b1..f80cf9342 100644 --- a/internal/processing/status/util_test.go +++ b/internal/processing/status/util_test.go @@ -27,6 +27,7 @@ import ( "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/api/model" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "github.com/superseriousbusiness/gotosocial/internal/messages" "github.com/superseriousbusiness/gotosocial/internal/processing/status" "github.com/superseriousbusiness/gotosocial/testrig" ) @@ -68,7 +69,7 @@ func (suite *UtilTestSuite) SetupTest() { suite.db = testrig.NewTestDB() suite.log = testrig.NewTestLog() suite.typeConverter = testrig.NewTestTypeConverter(suite.db) - suite.fromClientAPIChan = make(chan gtsmodel.FromClientAPI, 100) + suite.fromClientAPIChan = make(chan messages.FromClientAPI, 100) suite.status = status.New(suite.db, suite.typeConverter, suite.config, suite.fromClientAPIChan, suite.log) testrig.StandardDBSetup(suite.db, nil) |