Formatting
authorMark Felder <feld@FreeBSD.org>
Thu, 28 May 2020 18:22:28 +0000 (13:22 -0500)
committerMark Felder <feld@FreeBSD.org>
Thu, 28 May 2020 18:22:28 +0000 (13:22 -0500)
test/notification_test.exs

index fd59aceb508608e1bf8d8c45a199e6837f89dcd6..a1a7cee2a560e4c883864c2629543327e814fd1c 100644 (file)
@@ -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)