summaryrefslogtreecommitdiff
path: root/internal/typeutils/internaltoas_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/typeutils/internaltoas_test.go')
-rw-r--r--internal/typeutils/internaltoas_test.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/internal/typeutils/internaltoas_test.go b/internal/typeutils/internaltoas_test.go
index 740938220..26e86c516 100644
--- a/internal/typeutils/internaltoas_test.go
+++ b/internal/typeutils/internaltoas_test.go
@@ -366,27 +366,6 @@ func (suite *InternalToASTestSuite) TestAccountToASWithSharedInbox() {
}`, trimmed)
}
-func (suite *InternalToASTestSuite) TestOutboxToASCollection() {
- testAccount := suite.testAccounts["admin_account"]
- ctx := context.Background()
-
- collection, err := suite.typeconverter.OutboxToASCollection(ctx, testAccount.OutboxURI)
- suite.NoError(err)
-
- ser, err := ap.Serialize(collection)
- suite.NoError(err)
-
- bytes, err := json.MarshalIndent(ser, "", " ")
- suite.NoError(err)
-
- suite.Equal(`{
- "@context": "https://www.w3.org/ns/activitystreams",
- "first": "http://localhost:8080/users/admin/outbox?page=true",
- "id": "http://localhost:8080/users/admin/outbox",
- "type": "OrderedCollection"
-}`, string(bytes))
-}
-
func (suite *InternalToASTestSuite) TestStatusToAS() {
testStatus := suite.testStatuses["local_account_1_status_1"]
ctx := context.Background()