diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-09-24 22:52:41 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-09-24 23:32:17 +0200 |
commit | 2f6fc6a7ab0e757abfe9ec535842a12b887d2fe6 (patch) | |
tree | 5adc828d4d0d21c4e5063ab6ccb70a2f9ca1d039 /test | |
parent | a94cf2ad4ff523f72d03a9bf76ca9ec6b242c79b (diff) | |
download | pleroma-2f6fc6a7ab0e757abfe9ec535842a12b887d2fe6.tar.gz pleroma-2f6fc6a7ab0e757abfe9ec535842a12b887d2fe6.zip |
TwitterAPI: Return proper error when healthcheck is disabled
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/twitter_api/util_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/twitter_api/util_controller_test.exs b/test/pleroma/web/twitter_api/util_controller_test.exs index a4da23635..d06ae71aa 100644 --- a/test/pleroma/web/twitter_api/util_controller_test.exs +++ b/test/pleroma/web/twitter_api/util_controller_test.exs @@ -106,7 +106,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do |> get("/api/pleroma/healthcheck") |> json_response_and_validate_schema(503) - assert response == %{} + assert response == %{"error" => "Healthcheck disabled"} end test "returns 200 when healthcheck enabled and all ok", %{conn: conn} do |