projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'by-approval' into 'develop'
[akkoma]
/
test
/
web
/
preload
/
instance_test.exs
diff --git
a/test/web/preload/instance_test.exs
b/test/web/preload/instance_test.exs
index 5bb6c598117052307677186401e0da252a0c8d25..a46f2831248626a0340dfbe0865e3f7168701d6a 100644
(file)
--- a/
test/web/preload/instance_test.exs
+++ b/
test/web/preload/instance_test.exs
@@
-25,6
+25,17
@@
defmodule Pleroma.Web.Preload.Providers.InstanceTest do
)
end
)
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,
test "it renders the node_info", %{"/nodeinfo/2.0.json" => nodeinfo} do
%{
metadata: metadata,