Resolve follow activity from accept/reject without ID (#328)
[akkoma] / test / pleroma / web / manifest_controller_test.exs
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Web.ManifestControllerTest do
6 use Pleroma.Web.ConnCase
7
8 setup do
9 clear_config([:instance, :name], "Manifest Test")
10 clear_config([:manifest, :theme_color], "#ff0000")
11 end
12
13 test "manifest.json", %{conn: conn} do
14 conn = get(conn, "/manifest.json")
15 assert %{"name" => "Manifest Test", "theme_color" => "#ff0000"} = json_response(conn, 200)
16 end
17 end