summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/transmogrifier
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-05 18:00:37 +0200
committerlain <lain@soykaf.club>2020-05-05 18:02:24 +0200
commit92caae592338a3ca307686e7644f2de18bb57ce5 (patch)
treefff0ee1670ea7c396ffbcd350ccc68ed8408402d /test/web/activity_pub/transmogrifier
parenta3bb2e5474ee068bf375b24df8906e51654c9699 (diff)
downloadpleroma-92caae592338a3ca307686e7644f2de18bb57ce5.tar.gz
pleroma-92caae592338a3ca307686e7644f2de18bb57ce5.zip
Undoing: Move undoing blocks to the pipeline everywhere.
Diffstat (limited to 'test/web/activity_pub/transmogrifier')
-rw-r--r--test/web/activity_pub/transmogrifier/undo_handling_test.exs4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/web/activity_pub/transmogrifier/undo_handling_test.exs b/test/web/activity_pub/transmogrifier/undo_handling_test.exs
index 281cf5b0d..6f5e61ac3 100644
--- a/test/web/activity_pub/transmogrifier/undo_handling_test.exs
+++ b/test/web/activity_pub/transmogrifier/undo_handling_test.exs
@@ -176,9 +176,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.UndoHandlingTest do
{:ok, %Activity{data: data, local: false}} = Transmogrifier.handle_incoming(data)
assert data["type"] == "Undo"
- assert data["object"]["type"] == "Block"
- assert data["object"]["object"] == user.ap_id
- assert data["actor"] == "http://mastodon.example.org/users/admin"
+ assert data["object"] == block_data["id"]
blocker = User.get_cached_by_ap_id(data["actor"])