Merge branch 'develop' into feature/disable-account

This commit is contained in:
Egor Kislitsyn 2019-04-25 13:41:10 +07:00
commit c157e27a00
58 changed files with 702 additions and 245 deletions

View 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)