Lint
authorMark Felder <feld@FreeBSD.org>
Fri, 26 Jun 2020 19:35:04 +0000 (14:35 -0500)
committerMark Felder <feld@FreeBSD.org>
Fri, 26 Jun 2020 19:35:04 +0000 (14:35 -0500)
test/web/push/impl_test.exs

index 15de5e85351757269e5622f3d719b3bbab2200c8..aeb5c1fbd3216dbbb243f0cd6cbda62a158eef1d 100644 (file)
@@ -240,7 +240,9 @@ defmodule Pleroma.Web.Push.ImplTest do
 
     test "hides contents of notifications when option enabled" do
       user = insert(:user, nickname: "Bob")
-      user2 = insert(:user, nickname: "Rob", notification_settings: %{hide_notification_contents: true})
+
+      user2 =
+        insert(:user, nickname: "Rob", notification_settings: %{hide_notification_contents: true})
 
       {:ok, activity} =
         CommonAPI.post(user, %{
@@ -286,7 +288,9 @@ defmodule Pleroma.Web.Push.ImplTest do
 
     test "returns regular content when hiding contents option disabled" do
       user = insert(:user, nickname: "Bob")
-      user2 = insert(:user, nickname: "Rob", notification_settings: %{hide_notification_contents: false})
+
+      user2 =
+        insert(:user, nickname: "Rob", notification_settings: %{hide_notification_contents: false})
 
       {:ok, activity} =
         CommonAPI.post(user, %{