diff options
| author | rinpatch <rinpatch@sdf.org> | 2020-03-18 10:12:50 +0000 |
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2020-03-18 10:12:50 +0000 |
| commit | 69341cbcbac2459faa43bb924577e84dac353982 (patch) | |
| tree | e60c796ea7a1746ce63042a37b631a7a397b40d1 /test/notification_test.exs | |
| parent | e4380afc18a8c9af5aff986b0f5f6e422714d1c1 (diff) | |
| parent | f3791add99014c4e5f1c51c06f8ace84b254cec2 (diff) | |
| download | pleroma-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/notification_test.exs')
| -rw-r--r-- | test/notification_test.exs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/notification_test.exs b/test/notification_test.exs index 56a581810..d240ede94 100644 --- a/test/notification_test.exs +++ b/test/notification_test.exs @@ -667,17 +667,13 @@ defmodule Pleroma.NotificationTest do Pleroma.Web.ActivityPub.ActivityPub.move(old_user, new_user) ObanHelpers.perform_all() - assert [] = Notification.for_user(follower) - assert [ %{ activity: %{ data: %{"type" => "Move", "actor" => ^old_ap_id, "target" => ^new_ap_id} } } - ] = Notification.for_user(follower, %{with_move: true}) - - assert [] = Notification.for_user(other_follower) + ] = Notification.for_user(follower) assert [ %{ @@ -685,7 +681,7 @@ defmodule Pleroma.NotificationTest do data: %{"type" => "Move", "actor" => ^old_ap_id, "target" => ^new_ap_id} } } - ] = Notification.for_user(other_follower, %{with_move: true}) + ] = Notification.for_user(other_follower) end end |
