summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/side_effects_test.exs
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2020-07-27 21:20:52 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2020-07-27 21:20:52 +0000
commit057936bf0b5af2cc35a6ecb1c800a841ca4760a8 (patch)
tree5f7aebf08a4cb5c2b2f020b5122c885f1a50ec6a /test/web/activity_pub/side_effects_test.exs
parent2a3abfd326f0cbb588dfe66a23e9783be3038a5e (diff)
parent9e6f4694dd21f92bb2292e819d0f7f1cad149887 (diff)
downloadpleroma-057936bf0b5af2cc35a6ecb1c800a841ca4760a8.tar.gz
pleroma-057936bf0b5af2cc35a6ecb1c800a841ca4760a8.zip
Merge branch 'embedded-object-federation' into 'develop'
Embedded object federation Closes #1959 See merge request pleroma/pleroma!2794
Diffstat (limited to 'test/web/activity_pub/side_effects_test.exs')
-rw-r--r--test/web/activity_pub/side_effects_test.exs8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/web/activity_pub/side_effects_test.exs b/test/web/activity_pub/side_effects_test.exs
index 2649b060a..4a08eb7ee 100644
--- a/test/web/activity_pub/side_effects_test.exs
+++ b/test/web/activity_pub/side_effects_test.exs
@@ -312,8 +312,12 @@ defmodule Pleroma.Web.ActivityPub.SideEffectsTest do
}
end
- test "deletes the original block", %{block_undo: block_undo, block: block} do
- {:ok, _block_undo, _} = SideEffects.handle(block_undo)
+ test "deletes the original block", %{
+ block_undo: block_undo,
+ block: block
+ } do
+ {:ok, _block_undo, _meta} = SideEffects.handle(block_undo)
+
refute Activity.get_by_id(block.id)
end