Feature/826 healthcheck endpoint
This commit is contained in:
parent
7fcbda702e
commit
88f0be9693
7 changed files with 120 additions and 0 deletions
|
|
@ -245,4 +245,10 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do
|
|||
assert html_response(response, 200) =~ "Log in to follow"
|
||||
end
|
||||
end
|
||||
|
||||
test "GET /api/pleroma/healthcheck", %{conn: conn} do
|
||||
conn = get(conn, "/api/pleroma/healthcheck")
|
||||
|
||||
assert conn.status in [200, 503]
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue