mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-02 17:55:13 +00:00
bc6bfe383f
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/53
13 lines
390 B
Elixir
13 lines
390 B
Elixir
defmodule Pleroma.Web.Metadata.Providers.ThemeTest do
|
|
use Pleroma.DataCase
|
|
alias Pleroma.Web.Metadata.Providers.Theme
|
|
|
|
setup do: clear_config([Pleroma.Web.Metadata.Providers.Theme, :theme_color], "configured")
|
|
|
|
test "it renders the theme-color meta tag" do
|
|
result = Theme.build_tags(%{})
|
|
|
|
assert {:meta, [name: "theme-color", content: "configured"], []} in result
|
|
end
|
|
end
|