summaryrefslogtreecommitdiff
path: root/internal/typeutils/internaltoas_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-10-08 10:51:13 +0200
committerLibravatar GitHub <noreply@github.com>2024-10-08 08:51:13 +0000
commit1e421cb912a9bc8dc564b814984bcdad4a597ada (patch)
treeb62e67266b59c0952aed0aba93dcd1485777136a /internal/typeutils/internaltoas_test.go
parent[chore]: Bump golang.org/x/image from 0.20.0 to 0.21.0 (#3399) (diff)
downloadgotosocial-1e421cb912a9bc8dc564b814984bcdad4a597ada.tar.xz
[feature] Distribute + ingest Accepts to followers (#3404)
Diffstat (limited to 'internal/typeutils/internaltoas_test.go')
-rw-r--r--internal/typeutils/internaltoas_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/typeutils/internaltoas_test.go b/internal/typeutils/internaltoas_test.go
index f10685aee..d0ed4204c 100644
--- a/internal/typeutils/internaltoas_test.go
+++ b/internal/typeutils/internaltoas_test.go
@@ -1181,6 +1181,10 @@ func (suite *InternalToASTestSuite) TestInteractionReqToASAccept() {
suite.Equal(`{
"@context": "https://www.w3.org/ns/activitystreams",
"actor": "http://localhost:8080/users/the_mighty_zork",
+ "cc": [
+ "https://www.w3.org/ns/activitystreams#Public",
+ "http://localhost:8080/users/the_mighty_zork/followers"
+ ],
"id": "http://localhost:8080/users/the_mighty_zork/accepts/01J1AKMZ8JE5NW0ZSFTRC1JJNE",
"object": "https://fossbros-anonymous.io/users/foss_satan/statuses/01J1AKRRHQ6MDDQHV0TP716T2K",
"to": "http://fossbros-anonymous.io/users/foss_satan",