Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85595539
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/test/pleroma/web/web_finger/web_finger_controller_test.exs b/test/pleroma/web/web_finger/web_finger_controller_test.exs
index a5b323362..3ac66f90c 100644
--- a/test/pleroma/web/web_finger/web_finger_controller_test.exs
+++ b/test/pleroma/web/web_finger/web_finger_controller_test.exs
@@ -16,13 +16,14 @@ defmodule Pleroma.Web.WebFinger.WebFingerControllerTest do
setup_all do: clear_config([:instance, :federating], true)
defp webfinger_json_response(conn, status) do
- content_type = if status != 400 do
- conn
- |> Plug.Conn.get_resp_header("content-type")
- |> List.first()
- |> String.split(";")
- |> List.first()
- end
+ content_type =
+ if status != 400 do
+ conn
+ |> Plug.Conn.get_resp_header("content-type")
+ |> List.first()
+ |> String.split(";")
+ |> List.first()
+ end
status = Plug.Conn.Status.code(status)
@@ -41,13 +42,14 @@ defmodule Pleroma.Web.WebFinger.WebFingerControllerTest do
end
defp webfinger_xml_response(conn, status) do
- content_type = if status not in [400, 404] do
- conn
- |> Plug.Conn.get_resp_header("content-type")
- |> List.first()
- |> String.split(";")
- |> List.first()
- end
+ content_type =
+ if status not in [400, 404] do
+ conn
+ |> Plug.Conn.get_resp_header("content-type")
+ |> List.first()
+ |> String.split(";")
+ |> List.first()
+ end
status = Plug.Conn.Status.code(status)
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Jul 19, 12:12 PM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1695256
Default Alt Text
(1 KB)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment