summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2023-11-14 09:41:26 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2023-11-14 09:41:26 +0000
commitbf2d6abaf2f7ccc908c512a8d5be4e091779e9e5 (patch)
treee1c73ddc38a4e22c9443ec6b398db3fecb8d14ff /test
parent752bc168f6877e6a3ce2e2e508ec50069e9c1f61 (diff)
parent2f6fc6a7ab0e757abfe9ec535842a12b887d2fe6 (diff)
downloadpleroma-bf2d6abaf2f7ccc908c512a8d5be4e091779e9e5.tar.gz
pleroma-bf2d6abaf2f7ccc908c512a8d5be4e091779e9e5.zip
Merge branch 'healthcheck-disabled-error' into 'develop'
TwitterAPI: Return proper error when healthcheck is disabled See merge request pleroma/pleroma!3953
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/twitter_api/util_controller_test.exs2
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