Add GET /api/pleroma/admin/relay endpoint - lists all followed relays
This commit is contained in:
parent
44afe4c887
commit
cc6875b582
8 changed files with 112 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue