X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fweb%2Ftwitter_api%2Futil_controller_test.exs;h=14a8225f097caac84a6c9de636e77357930fa36f;hb=5e2b491276d5cd8d90fddf219f7653d1c9b31ef3;hp=0288e24d151b9fd3269dabae62f7f553fb193883;hpb=e8c2f9a73a37636a9a8ed5c2998617b841f482da;p=akkoma diff --git a/test/web/twitter_api/util_controller_test.exs b/test/web/twitter_api/util_controller_test.exs index 0288e24d1..14a8225f0 100644 --- a/test/web/twitter_api/util_controller_test.exs +++ b/test/web/twitter_api/util_controller_test.exs @@ -246,6 +246,12 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do end end + test "GET /api/pleroma/healthcheck", %{conn: conn} do + conn = get(conn, "/api/pleroma/healthcheck") + + assert conn.status in [200, 503] + end + describe "POST /api/pleroma/disable_account" do test "it returns HTTP 200", %{conn: conn} do user = insert(:user)