aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-05-28 13:22:28 -0500
committerMark Felder <feld@FreeBSD.org>2020-05-28 13:22:28 -0500
commit4c82f657c5aaba6aacbc8ef927c1727509195839 (patch)
treebfd82b6727e965f0d441e2f900190ea16edf375d
parent9eea80002673eb1359a2d4369c65a89c42c2f707 (diff)
downloadpleroma-4c82f657c5aaba6aacbc8ef927c1727509195839.tar.gz
Formatting
-rw-r--r--test/notification_test.exs8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/notification_test.exs b/test/notification_test.exs
index fd59aceb5..a1a7cee2a 100644
--- a/test/notification_test.exs
+++ b/test/notification_test.exs
@@ -237,7 +237,9 @@ defmodule Pleroma.NotificationTest do
follower = insert(:user)
followed =
- insert(:user, notification_settings: %Pleroma.User.NotificationSetting{from_followers: false})
+ insert(:user,
+ notification_settings: %Pleroma.User.NotificationSetting{from_followers: false}
+ )
User.follow(follower, followed)
{:ok, activity} = CommonAPI.post(follower, %{status: "hey @#{followed.nickname}"})
@@ -258,7 +260,9 @@ defmodule Pleroma.NotificationTest do
test "it disables notifications from people the user follows" do
follower =
- insert(:user, notification_settings: %Pleroma.User.NotificationSetting{from_following: false})
+ insert(:user,
+ notification_settings: %Pleroma.User.NotificationSetting{from_following: false}
+ )
followed = insert(:user)
User.follow(follower, followed)