diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-07-27 21:20:52 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-07-27 21:20:52 +0000 |
commit | 057936bf0b5af2cc35a6ecb1c800a841ca4760a8 (patch) | |
tree | 5f7aebf08a4cb5c2b2f020b5122c885f1a50ec6a /test/web/activity_pub/side_effects_test.exs | |
parent | 2a3abfd326f0cbb588dfe66a23e9783be3038a5e (diff) | |
parent | 9e6f4694dd21f92bb2292e819d0f7f1cad149887 (diff) | |
download | pleroma-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.exs | 8 |
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 |