# Pleroma: A lightweight social networking server
# Copyright © 2017-2020 Pleroma Authors
Welcome to Pleroma!
" ) end test "it works with overrides" do clear_config([:instance, :static_dir], "test/fixtures/preload_static") %{"/instance/panel.html" => panel} = Instance.generate_terms(nil) assert String.contains?( panel, "HEY!" ) end test "it renders the node_info", %{"/nodeinfo/2.0.json" => nodeinfo} do %{ metadata: metadata, version: "2.0" } = nodeinfo assert metadata.private == false assert metadata.suggestions == %{enabled: false} end test "it renders the frontend configurations", %{ "/api/pleroma/frontend_configurations" => fe_configs } do assert %{ pleroma_fe: %{background: "/images/city.jpg", logo: "/static/logo.svg"} } = fe_configs end end