Page MenuHomePhorge

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
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

Mime Type
text/x-diff
Expires
Sun, Jul 19, 12:12 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1695256
Default Alt Text
(1 KB)

Event Timeline