summaryrefslogtreecommitdiff
path: root/test/web/activity_pub
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-03-18 10:12:50 +0000
committerrinpatch <rinpatch@sdf.org>2020-03-18 10:12:50 +0000
commit69341cbcbac2459faa43bb924577e84dac353982 (patch)
treee60c796ea7a1746ce63042a37b631a7a397b40d1 /test/web/activity_pub
parente4380afc18a8c9af5aff986b0f5f6e422714d1c1 (diff)
parentf3791add99014c4e5f1c51c06f8ace84b254cec2 (diff)
downloadpleroma-69341cbcbac2459faa43bb924577e84dac353982.tar.gz
pleroma-69341cbcbac2459faa43bb924577e84dac353982.zip
Merge branch 'feature/1530-removing-with_move' into 'develop'
Feature/1530 removing with move Closes #1530 See merge request pleroma/pleroma!2306
Diffstat (limited to 'test/web/activity_pub')
-rw-r--r--test/web/activity_pub/activity_pub_test.exs6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs
index 3dd3dd04d..d86c8260e 100644
--- a/test/web/activity_pub/activity_pub_test.exs
+++ b/test/web/activity_pub/activity_pub_test.exs
@@ -1955,11 +1955,9 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
activity = %Activity{activity | object: nil}
- assert [%Notification{activity: ^activity}] =
- Notification.for_user(follower, %{with_move: true})
+ assert [%Notification{activity: ^activity}] = Notification.for_user(follower)
- assert [%Notification{activity: ^activity}] =
- Notification.for_user(follower_move_opted_out, %{with_move: true})
+ assert [%Notification{activity: ^activity}] = Notification.for_user(follower_move_opted_out)
end
test "old user must be in the new user's `also_known_as` list" do