diff options
| author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-16 20:05:21 +0300 |
|---|---|---|
| committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-16 20:07:45 +0300 |
| commit | f3791add99014c4e5f1c51c06f8ace84b254cec2 (patch) | |
| tree | cdb25d973f4b24c11a4dade08935f1d5a36f841e /test/notification_test.exs | |
| parent | ac5c2b66b9f106bad117708cf74e3007c434d09e (diff) | |
| download | pleroma-f3791add99014c4e5f1c51c06f8ace84b254cec2.tar.gz pleroma-f3791add99014c4e5f1c51c06f8ace84b254cec2.zip | |
removing with_move parameter
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 |
