diff options
author | 2022-01-10 18:36:09 +0100 | |
---|---|---|
committer | 2022-01-10 18:36:09 +0100 | |
commit | e0f9323b9aa98b55f3557086f7b0a17047943f39 (patch) | |
tree | 5a2bbcb84b87d2530e804067d72c1bea672412a1 /internal/processing/account/account_test.go | |
parent | add async test (diff) | |
download | gotosocial-e0f9323b9aa98b55f3557086f7b0a17047943f39.tar.xz |
test the media manager a bit, add shutdown logic
Diffstat (limited to 'internal/processing/account/account_test.go')
-rw-r--r-- | internal/processing/account/account_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/account/account_test.go b/internal/processing/account/account_test.go index 9c7f0fe67..5a9382ed6 100644 --- a/internal/processing/account/account_test.go +++ b/internal/processing/account/account_test.go @@ -85,7 +85,7 @@ func (suite *AccountStandardTestSuite) SetupTest() { suite.fromClientAPIChan = make(chan messages.FromClientAPI, 100) suite.httpClient = testrig.NewMockHTTPClient(nil) suite.transportController = testrig.NewTestTransportController(suite.httpClient, suite.db) - suite.federator = testrig.NewTestFederator(suite.db, suite.transportController, suite.storage) + suite.federator = testrig.NewTestFederator(suite.db, suite.transportController, suite.storage, suite.mediaManager) suite.sentEmails = make(map[string]string) suite.emailSender = testrig.NewEmailSender("../../../web/template/", suite.sentEmails) suite.accountProcessor = account.New(suite.db, suite.tc, suite.mediaManager, suite.oauthServer, suite.fromClientAPIChan, suite.federator) |