summaryrefslogtreecommitdiff
path: root/test/notification_test.exs
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-03-18 14:08:21 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-03-18 14:08:21 +0300
commitf9ecb513faec53758371f6d6efd78668997a1d15 (patch)
tree879353fbffb02a8b8efbc940c19838cfa7a99d53 /test/notification_test.exs
parentbf474ca3c154544b54720ea23c06191e68f32522 (diff)
parent69341cbcbac2459faa43bb924577e84dac353982 (diff)
downloadpleroma-f9ecb513faec53758371f6d6efd78668997a1d15.tar.gz
pleroma-f9ecb513faec53758371f6d6efd78668997a1d15.zip
Merge branch 'develop' into gun
Diffstat (limited to 'test/notification_test.exs')
-rw-r--r--test/notification_test.exs8
1 files changed, 2 insertions, 6 deletions
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