mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 19:29:11 +00:00
Lint
This commit is contained in:
parent
76313e8162
commit
ce85db41a3
1 changed files with 6 additions and 2 deletions
|
@ -240,7 +240,9 @@ defmodule Pleroma.Web.Push.ImplTest do
|
||||||
|
|
||||||
test "hides contents of notifications when option enabled" do
|
test "hides contents of notifications when option enabled" do
|
||||||
user = insert(:user, nickname: "Bob")
|
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} =
|
{:ok, activity} =
|
||||||
CommonAPI.post(user, %{
|
CommonAPI.post(user, %{
|
||||||
|
@ -286,7 +288,9 @@ defmodule Pleroma.Web.Push.ImplTest do
|
||||||
|
|
||||||
test "returns regular content when hiding contents option disabled" do
|
test "returns regular content when hiding contents option disabled" do
|
||||||
user = insert(:user, nickname: "Bob")
|
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} =
|
{:ok, activity} =
|
||||||
CommonAPI.post(user, %{
|
CommonAPI.post(user, %{
|
||||||
|
|
Loading…
Reference in a new issue