diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-04-25 13:41:10 +0700 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2019-04-25 13:41:10 +0700 |
commit | c157e27a000a12dc8f660c056744a6611beb01b1 (patch) | |
tree | 36ae4721a1cb92983c7a8fed41b737e0a5a57486 /test/web/twitter_api/util_controller_test.exs | |
parent | e8c2f9a73a37636a9a8ed5c2998617b841f482da (diff) | |
parent | 3789945784a331790d73f69b407751df9f7d6e8f (diff) | |
download | pleroma-c157e27a000a12dc8f660c056744a6611beb01b1.tar.gz pleroma-c157e27a000a12dc8f660c056744a6611beb01b1.zip |
Merge branch 'develop' into feature/disable-account
Diffstat (limited to 'test/web/twitter_api/util_controller_test.exs')
-rw-r--r-- | test/web/twitter_api/util_controller_test.exs | 6 |
1 files changed, 6 insertions, 0 deletions
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) |