diff options
author | lain <lain@soykaf.club> | 2020-04-27 14:28:08 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-04-27 14:28:08 +0200 |
commit | 3635a9c9c25db16be292c5f56c27ab5d5f5affb5 (patch) | |
tree | 5d35a4df0dac3da4b439ced4b7e1c9f15c123f5d /test | |
parent | 01cc93b6873b5c50c0fc54774a3b004bf660e46b (diff) | |
download | pleroma-3635a9c9c25db16be292c5f56c27ab5d5f5affb5.tar.gz |
InstanceController: Add extensions to `/api/v1/instance`
Diffstat (limited to 'test')
-rw-r--r-- | test/web/mastodon_api/controllers/instance_controller_test.exs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/web/mastodon_api/controllers/instance_controller_test.exs b/test/web/mastodon_api/controllers/instance_controller_test.exs index 2737dcaba..2c7fd9fd0 100644 --- a/test/web/mastodon_api/controllers/instance_controller_test.exs +++ b/test/web/mastodon_api/controllers/instance_controller_test.exs @@ -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 |