aboutsummaryrefslogtreecommitdiff
path: root/test/plugs/instance_static_test.exs
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2020-06-25 21:35:39 +0000
committerfeld <feld@feld.me>2020-06-25 21:35:39 +0000
commit828841968640f67a06ba8e2d0dd7c38b1d9e3729 (patch)
treeeda3efbd610908ab51d78cc82dbf6c9ae5000911 /test/plugs/instance_static_test.exs
parent2e39fbe02ed31695abcf36e4b9aadcedde3d4a9e (diff)
parentfaba1a6e337715af557e2e222e62de6fd35c9e8a (diff)
downloadpleroma-828841968640f67a06ba8e2d0dd7c38b1d9e3729.tar.gz
Merge branch 'preload-data' into 'develop'
Preload data into index.html Closes #1660 See merge request pleroma/pleroma!2381
Diffstat (limited to 'test/plugs/instance_static_test.exs')
-rw-r--r--test/plugs/instance_static_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plugs/instance_static_test.exs b/test/plugs/instance_static_test.exs
index b8f070d6a..be2613ad0 100644
--- a/test/plugs/instance_static_test.exs
+++ b/test/plugs/instance_static_test.exs
@@ -16,7 +16,7 @@ defmodule Pleroma.Web.RuntimeStaticPlugTest do
test "overrides index" do
bundled_index = get(build_conn(), "/")
- assert html_response(bundled_index, 200) == File.read!("priv/static/index.html")
+ refute html_response(bundled_index, 200) == "hello world"
File.write!(@dir <> "/index.html", "hello world")