diff options
author | kaniini <nenolod@gmail.com> | 2019-04-22 07:19:53 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2019-04-22 07:19:53 +0000 |
commit | 05862ded7a156ad6db16a70ec90045a2149da97d (patch) | |
tree | 3f87cabddf373b61a33b901fe4084414e21f2977 /test/web/twitter_api/util_controller_test.exs | |
parent | 7fcbda702e76b6390076c28832f5aea80086d15a (diff) | |
parent | 88f0be96933c287b99469edcfb6483cc91fa73c8 (diff) | |
download | pleroma-05862ded7a156ad6db16a70ec90045a2149da97d.tar.gz pleroma-05862ded7a156ad6db16a70ec90045a2149da97d.zip |
Merge branch 'feature/826-healthcheck-endpoint' into 'develop'
Feature/826 healthcheck endpoint
Closes #826
See merge request pleroma/pleroma!1083
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 c58b49ea4..56474447b 100644 --- a/test/web/twitter_api/util_controller_test.exs +++ b/test/web/twitter_api/util_controller_test.exs @@ -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 |