diff options
Diffstat (limited to 'internal/ap/ap_test.go')
-rw-r--r-- | internal/ap/ap_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/ap/ap_test.go b/internal/ap/ap_test.go index 6a5073c63..583a37c53 100644 --- a/internal/ap/ap_test.go +++ b/internal/ap/ap_test.go @@ -93,6 +93,12 @@ func noteWithMentions1() vocab.ActivityStreamsNote { content := streams.NewActivityStreamsContentProperty() content.AppendXMLSchemaString("hey @f0x and @dumpsterqueer") + + rdfLangString := make(map[string]string) + rdfLangString["en"] = "hey @f0x and @dumpsterqueer" + rdfLangString["fr"] = "bonjour @f0x et @dumpsterqueer" + content.AppendRDFLangString(rdfLangString) + note.SetActivityStreamsContent(content) return note |