summaryrefslogtreecommitdiff
path: root/test/plugs/instance_static_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-06-26 10:23:19 -0500
committerMark Felder <feld@FreeBSD.org>2020-06-26 10:23:19 -0500
commitb950fb01db51f14a9fd3a827b90573418a5b95da (patch)
tree7b04f584b8b371f0a99f0b8be52d8f0875778ec8 /test/plugs/instance_static_test.exs
parent433c01b370f4bf68d3f016d86c1527b1319e7a0c (diff)
parent6db9f7cdb3adeda547b6e3e9ca887b685344351a (diff)
downloadpleroma-b950fb01db51f14a9fd3a827b90573418a5b95da.tar.gz
pleroma-b950fb01db51f14a9fd3a827b90573418a5b95da.zip
Merge branch 'develop' into refactor/notification_settings
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")