1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.Preload.Providers.StatusNetTest do
7 alias Pleroma.Web.Preload.Providers.StatusNet
9 setup do: {:ok, StatusNet.generate_terms(nil)}
11 test "it renders the info", %{"/api/statusnet/config.json": info} do
12 assert {:ok, res} = Jason.decode(info)