InstanceController: Add extensions to /api/v1/instance

This commit is contained in:
lain 2020-04-27 14:28:08 +02:00
commit 3635a9c9c2
3 changed files with 64 additions and 45 deletions

View file

@ -34,6 +34,10 @@ defmodule Pleroma.Web.MastodonAPI.InstanceControllerTest do
"banner_upload_limit" => _
} = result
assert result["pleroma"]["metadata"]["features"]
assert result["pleroma"]["metadata"]["federation"]
assert result["pleroma"]["vapid_public_key"]
assert email == from_config_email
end