X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fnotification_test.exs;h=6ddd0ad35c3781773baedfd09dab4d953d861ced;hb=9bae9b1b1bf4f48e20ce0b2d9b670648d052e069;hp=c71df4e07b0afcf32ce3fde5c53fa3ff1096ffb0;hpb=3805e09b9c2c309f4fcb7654831ab9927c95cfd0;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