diff options
author | 2024-02-19 04:48:20 +0100 | |
---|---|---|
committer | 2024-02-19 03:48:20 +0000 | |
commit | a314d2b539804a31e602774196676e2d0089b8dc (patch) | |
tree | 9b68bb5176cf2b8f7909bf0fa02117f8c270d9b9 /internal/text/formatter_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/text/formatter_test.go')
-rw-r--r-- | internal/text/formatter_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/text/formatter_test.go b/internal/text/formatter_test.go index cce9970b2..6fd8f4d7b 100644 --- a/internal/text/formatter_test.go +++ b/internal/text/formatter_test.go @@ -74,7 +74,7 @@ func (suite *TextStandardTestSuite) SetupTest() { suite.db = testrig.NewTestDB(&state) federator := testrig.NewTestFederator(&state, testrig.NewTestTransportController(&state, testrig.NewMockHTTPClient(nil, "../../testrig/media")), nil) - suite.parseMention = processing.GetParseMentionFunc(suite.db, federator) + suite.parseMention = processing.GetParseMentionFunc(&state, federator) suite.formatter = text.NewFormatter(suite.db) |