summaryrefslogtreecommitdiff
path: root/internal/text/formatter_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-02-19 04:48:20 +0100
committerLibravatar GitHub <noreply@github.com>2024-02-19 03:48:20 +0000
commita314d2b539804a31e602774196676e2d0089b8dc (patch)
tree9b68bb5176cf2b8f7909bf0fa02117f8c270d9b9 /internal/text/formatter_test.go
parent[chore] Comment out silly, frequently-failing `GetStatusTwice` test (#2656) (diff)
downloadgotosocial-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.go2
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)