From 9d3508d18adabad237cdf62d127bef2951ce98e2 Mon Sep 17 00:00:00 2001 From: "Aode (lion)" Date: Mon, 15 Nov 2021 20:21:24 -0600 Subject: [PATCH] Fix deletion tests --- .../assets/lemmy/activities/deletion/delete_page.json | 10 +++++----- .../lemmy/activities/deletion/undo_delete_page.json | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/crates/apub/assets/lemmy/activities/deletion/delete_page.json b/crates/apub/assets/lemmy/activities/deletion/delete_page.json index 8dd26a109..bc651da64 100644 --- a/crates/apub/assets/lemmy/activities/deletion/delete_page.json +++ b/crates/apub/assets/lemmy/activities/deletion/delete_page.json @@ -3,10 +3,10 @@ "to": [ "https://www.w3.org/ns/activitystreams#Public" ], - "object": "http://ds9.lemmy.ml/post/1", - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "object": { + "id": "http://ds9.lemmy.ml/post/1", + "type": "Tombstone" + }, "type": "Delete", "id": "http://ds9.lemmy.ml/activities/delete/f2abee48-c7bb-41d5-9e27-8775ff32db12" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/deletion/undo_delete_page.json b/crates/apub/assets/lemmy/activities/deletion/undo_delete_page.json index 9f824fa1f..e0ba3d736 100644 --- a/crates/apub/assets/lemmy/activities/deletion/undo_delete_page.json +++ b/crates/apub/assets/lemmy/activities/deletion/undo_delete_page.json @@ -8,10 +8,10 @@ "to": [ "https://www.w3.org/ns/activitystreams#Public" ], - "object": "http://ds9.lemmy.ml/post/1", - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "object": { + "id": "http://ds9.lemmy.ml/post/1", + "type": "Tombstone" + }, "type": "Delete", "id": "http://ds9.lemmy.ml/activities/delete/b13cca96-7737-41e1-9769-8fbf972b3509" }, @@ -20,4 +20,4 @@ ], "type": "Undo", "id": "http://ds9.lemmy.ml/activities/undo/5e939cfb-b8a1-4de8-950f-9d684e9162b9" -} \ No newline at end of file +}