diff options
author | 2024-02-19 04:48:20 +0100 | |
---|---|---|
committer | 2024-02-19 03:48:20 +0000 | |
commit | a314d2b539804a31e602774196676e2d0089b8dc (patch) | |
tree | 9b68bb5176cf2b8f7909bf0fa02117f8c270d9b9 /internal/processing/account/account_test.go | |
parent | [chore] Comment out silly, frequently-failing `GetStatusTwice` test (#2656) (diff) | |
download | gotosocial-a314d2b539804a31e602774196676e2d0089b8dc.tar.xz |
[bugfix] Refactor parse mention, fix local mention bug (#2657)
* [bugfix] Refactor parse mention, fix local mention bug
* originAccount -> originAcct
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 d43b4c937..2eea5f438 100644 --- a/internal/processing/account/account_test.go +++ b/internal/processing/account/account_test.go @@ -115,7 +115,7 @@ func (suite *AccountStandardTestSuite) SetupTest() { filter := visibility.NewFilter(&suite.state) common := common.New(&suite.state, suite.tc, suite.federator, filter) - suite.accountProcessor = account.New(&common, &suite.state, suite.tc, suite.mediaManager, suite.oauthServer, suite.federator, filter, processing.GetParseMentionFunc(suite.db, suite.federator)) + suite.accountProcessor = account.New(&common, &suite.state, suite.tc, suite.mediaManager, suite.oauthServer, suite.federator, filter, processing.GetParseMentionFunc(&suite.state, suite.federator)) testrig.StandardDBSetup(suite.db, nil) testrig.StandardStorageSetup(suite.storage, "../../../testrig/media") } |