summaryrefslogtreecommitdiff
path: root/internal/ap/normalize_test.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-10-03 14:59:30 +0100
committerLibravatar GitHub <noreply@github.com>2023-10-03 14:59:30 +0100
commit297b6eeaaa136f9166e6f5937b5fca917e12fb5b (patch)
tree25eb815e775efd35c3ccb0b5b932547caf6107fb /internal/ap/normalize_test.go
parent[chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp... (diff)
downloadgotosocial-297b6eeaaa136f9166e6f5937b5fca917e12fb5b.tar.xz
[chore] internal/ap: add pollable AS types, code reformatting, general niceties (#2248)
Diffstat (limited to 'internal/ap/normalize_test.go')
-rw-r--r--internal/ap/normalize_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ap/normalize_test.go b/internal/ap/normalize_test.go
index cefaf4d38..cd1affe60 100644
--- a/internal/ap/normalize_test.go
+++ b/internal/ap/normalize_test.go
@@ -191,7 +191,7 @@ func (suite *NormalizeTestSuite) TestNormalizeActivityObject() {
note,
)
- ap.NormalizeIncomingActivityObject(create, map[string]interface{}{"object": rawNote})
+ ap.NormalizeIncomingActivity(create, map[string]interface{}{"object": rawNote})
suite.Equal(`UPDATE: As of this morning there are now more than 7 million Mastodon users, most from the <a class="hashtag" href="https://example.org/tag/twittermigration" rel="tag ugc nofollow noreferrer noopener" target="_blank">#TwitterMigration</a>.<br><br>In fact, 100,000 new accounts have been created since last night.<br><br>Since last night's spike 8,000-12,000 new accounts are being created every hour.<br><br>Yesterday, I estimated that Mastodon would have 8 million users by the end of the week. That might happen a lot sooner if this trend continues.`, ap.ExtractContent(note))
}