Add GET /api/pleroma/admin/relay endpoint - lists all followed relays

This commit is contained in:
Maxim Filippov 2019-10-11 19:12:29 +03:00
commit cc6875b582
8 changed files with 112 additions and 8 deletions

View file

@ -70,7 +70,7 @@ defmodule Pleroma.Web.MastodonAPI.SearchControllerTest do
get(conn, "/api/v2/search", %{"q" => "天子"})
|> json_response(200)
[account] == results["accounts"]
assert [account] == results["accounts"]
assert account["id"] == to_string(user_three.id)
end
end