diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-10-16 01:13:52 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-10-16 01:14:15 +0200 |
commit | aafdc975bdd38f74cdf5d3f8517d41c5dd76c56b (patch) | |
tree | 80878f77cc8e98d5bff892dc2f61cc31ff8e3362 /test | |
parent | 3b5a7a6b14f4c09d1d371d6fcb49bece84d6c3e1 (diff) | |
download | pleroma-aafdc975bdd38f74cdf5d3f8517d41c5dd76c56b.tar.gz |
federation_status: Add ApiSpec
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/pleroma_api/controllers/instances_controller_test.exs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/pleroma/web/pleroma_api/controllers/instances_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/instances_controller_test.exs index 9ce901ce3..13491ed9c 100644 --- a/test/pleroma/web/pleroma_api/controllers/instances_controller_test.exs +++ b/test/pleroma/web/pleroma_api/controllers/instances_controller_test.exs @@ -31,10 +31,8 @@ defmodule Pleroma.Web.PleromaApi.InstancesControllerTest do assert conn |> put_req_header("content-type", "application/json") |> get("/api/v1/pleroma/federation_status") - |> json_response(200) == %{ + |> json_response_and_validate_schema(200) == %{ "unreachable" => %{constant_host => to_string(constant_unreachable)} } - - # |> json_response_and_validate_schema(200) end end |