mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Format
This commit is contained in:
parent
50d6183893
commit
3e968f9ef2
1 changed files with 8 additions and 6 deletions
|
@ -1150,7 +1150,8 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|
|||
assert [] == response
|
||||
end
|
||||
|
||||
test "it returns the followers when hide_followers is set to true if requested by the user themselves", %{
|
||||
test "it returns the followers when hide_followers is set to true if requested by the user themselves",
|
||||
%{
|
||||
conn: conn
|
||||
} do
|
||||
user = insert(:user, %{info: %{hide_followers: true}})
|
||||
|
@ -1273,7 +1274,8 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|
|||
assert [] == json_response(conn, 200)
|
||||
end
|
||||
|
||||
test "it returns friends when hide_followings is set to true if the user themselves request it", %{
|
||||
test "it returns friends when hide_followings is set to true if the user themselves request it",
|
||||
%{
|
||||
conn: conn
|
||||
} do
|
||||
user = insert(:user, %{info: %{hide_followings: true}})
|
||||
|
|
Loading…
Reference in a new issue