diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-06-29 16:09:49 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-06-29 16:09:49 +0400 |
commit | 4a306720e8be8633e192f7b2c98f129a315939b9 (patch) | |
tree | ed5ec059c532777a28eade72f384c8a800ead496 /test/plugs/instance_static_test.exs | |
parent | d15aa9d9503e59b3cd0731394855781f435ec63c (diff) | |
parent | 651f269568cb7e54cd96d8a0d8ea3533f77e9a3a (diff) | |
download | pleroma-4a306720e8be8633e192f7b2c98f129a315939b9.tar.gz pleroma-4a306720e8be8633e192f7b2c98f129a315939b9.zip |
Merge branch 'develop' into remove-twitter-api
Diffstat (limited to 'test/plugs/instance_static_test.exs')
-rw-r--r-- | test/plugs/instance_static_test.exs | 2 |
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") |