Page MenuHomePhorge

manifest_controller_test.exs
No OneTemporary

Size
547 B
Referenced Files
None
Subscribers
None

manifest_controller_test.exs

# Pleroma: A lightweight social networking server
# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ManifestControllerTest do
use Pleroma.Web.ConnCase
setup do
clear_config([:instance, :name], "Manifest Test")
clear_config([:manifest, :theme_color], "#ff0000")
end
test "manifest.json", %{conn: conn} do
conn = get(conn, "/manifest.json")
assert %{"name" => "Manifest Test", "theme_color" => "#ff0000"} = json_response(conn, 200)
end
end

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 29, 9:36 AM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1633967
Default Alt Text
manifest_controller_test.exs (547 B)

Event Timeline