Add tests

This commit is contained in:
Egor Kislitsyn 2021-01-27 18:18:46 +04:00
commit bddb01bded
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
3 changed files with 97 additions and 0 deletions

View file

@ -47,6 +47,7 @@ defmodule Pleroma.Web.MastodonAPI.InstanceControllerTest do
assert result["pleroma"]["metadata"]["federation"]
assert result["pleroma"]["metadata"]["fields_limits"]
assert result["pleroma"]["vapid_public_key"]
assert result["pleroma"]["stats"]["mau"] == 0
assert email == from_config_email
assert thumbnail == from_config_thumbnail