diff options
author | lain <lain@soykaf.club> | 2020-03-20 14:52:58 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-03-20 14:52:58 +0100 |
commit | 1aa8aa7d7f14c553a8f0bf1ae82f1a1169cb0fc2 (patch) | |
tree | f69f8dbf3a012bab253fe267daf967616eefcc0a /test/notification_test.exs | |
parent | 9b9d67bbec537df6f7c5729e81da6deeaf896bd9 (diff) | |
parent | d63dca8d99196c91dc3e20e2d27f61ea753b84af (diff) | |
download | pleroma-1aa8aa7d7f14c553a8f0bf1ae82f1a1169cb0fc2.tar.gz pleroma-1aa8aa7d7f14c553a8f0bf1ae82f1a1169cb0fc2.zip |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-2
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 81eb0e2f7..b22c23861 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 |