summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/transmogrifier/undo_handling_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-05 16:42:34 +0200
committerlain <lain@soykaf.club>2020-05-05 16:42:34 +0200
commita3bb2e5474ee068bf375b24df8906e51654c9699 (patch)
tree2e155d1608ea4ef8059d5a204b45d5f361c9e940 /test/web/activity_pub/transmogrifier/undo_handling_test.exs
parentb34debe61540cf845ccf4ac93066e45a1d9c8f85 (diff)
downloadpleroma-a3bb2e5474ee068bf375b24df8906e51654c9699.tar.gz
pleroma-a3bb2e5474ee068bf375b24df8906e51654c9699.zip
Undoing: Move undoing announcements to the pipeline everywhere.
Diffstat (limited to 'test/web/activity_pub/transmogrifier/undo_handling_test.exs')
-rw-r--r--test/web/activity_pub/transmogrifier/undo_handling_test.exs5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/web/activity_pub/transmogrifier/undo_handling_test.exs b/test/web/activity_pub/transmogrifier/undo_handling_test.exs
index bf2a6bc5b..281cf5b0d 100644
--- a/test/web/activity_pub/transmogrifier/undo_handling_test.exs
+++ b/test/web/activity_pub/transmogrifier/undo_handling_test.exs
@@ -125,11 +125,8 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.UndoHandlingTest do
{:ok, %Activity{data: data, local: false}} = Transmogrifier.handle_incoming(data)
assert data["type"] == "Undo"
- assert object_data = data["object"]
- assert object_data["type"] == "Announce"
- assert object_data["object"] == activity.data["object"]
- assert object_data["id"] ==
+ assert data["object"] ==
"http://mastodon.example.org/users/admin/statuses/99542391527669785/activity"
end