# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
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
assert stats
assert stats["user_count"] == 1
-
- assert stats["status_count"] == %{
- "all" => 1,
- "direct" => 0,
- "private" => 0,
- "public" => 1,
- "unlisted" => 0
- }
-
+ assert stats["status_count"] == 1
assert stats["domain_count"] == 2
end