Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
[akkoma] / test / web / twitter_api / util_controller_test.exs
index 0288e24d151b9fd3269dabae62f7f553fb193883..14a8225f097caac84a6c9de636e77357930fa36f 100644 (file)
@@ -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)