commit: fc910f9bb94bb3cefb76f2253369e6198d6ee969
parent 8883fa326a1de11bdf2cf254aa8a1d141d0332ab
Author: Lain Soykaf <lain@lain.com>
Date: Sat, 30 Dec 2023 11:45:16 +0400
Linting
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/pleroma/web/pleroma_api/controllers/chat_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/chat_controller_test.exs
@@ -226,8 +226,7 @@ defmodule Pleroma.Web.PleromaAPI.ChatControllerTest do
assert length(result) == 20
- response =
- get(conn, "#{api_endpoint}#{chat.id}/messages?max_id=#{List.last(result)["id"]}")
+ response = get(conn, "#{api_endpoint}#{chat.id}/messages?max_id=#{List.last(result)["id"]}")
result = json_response_and_validate_schema(response, 200)
[next, prev] = get_resp_header(response, "link") |> hd() |> String.split(", ")