1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.ManifestControllerTest do
6 use Pleroma.Web.ConnCase
9 clear_config([:instance, :name], "Manifest Test")
10 clear_config([:manifest, :theme_color], "#ff0000")
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)