X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fnotification_test.exs;h=6ddd0ad35c3781773baedfd09dab4d953d861ced;hb=f9ecb513faec53758371f6d6efd78668997a1d15;hp=c71df4e07b0afcf32ce3fde5c53fa3ff1096ffb0;hpb=bf474ca3c154544b54720ea23c06191e68f32522;p=akkoma diff --git a/test/notification_test.exs b/test/notification_test.exs index c71df4e07..6ddd0ad35 100644 --- a/test/notification_test.exs +++ b/test/notification_test.exs @@ -687,17 +687,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 [ %{ @@ -705,7 +701,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