diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-03-14 15:37:02 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-03-14 15:37:02 +0300 |
commit | ecb7809e92b8ee6ac8f4b4a812673684e762c215 (patch) | |
tree | fa00baa27456d77a61440833f85c5143620e4ad2 /test/plugs/cache_control_test.exs | |
parent | bd40880fa0ed328c2948bb145354a8292fe051b5 (diff) | |
parent | 14ebf8f1e5411337d63d6372e6229da1b2f28316 (diff) | |
download | pleroma-ecb7809e92b8ee6ac8f4b4a812673684e762c215.tar.gz pleroma-ecb7809e92b8ee6ac8f4b4a812673684e762c215.zip |
Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instances-routes-restrictions
# Conflicts:
# lib/pleroma/plugs/static_fe_plug.ex
Diffstat (limited to 'test/plugs/cache_control_test.exs')
-rw-r--r-- | test/plugs/cache_control_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plugs/cache_control_test.exs b/test/plugs/cache_control_test.exs index 005912ffb..6b567e81d 100644 --- a/test/plugs/cache_control_test.exs +++ b/test/plugs/cache_control_test.exs @@ -9,7 +9,7 @@ defmodule Pleroma.Web.CacheControlTest do test "Verify Cache-Control header on static assets", %{conn: conn} do conn = get(conn, "/index.html") - assert Conn.get_resp_header(conn, "cache-control") == ["public max-age=86400 must-revalidate"] + assert Conn.get_resp_header(conn, "cache-control") == ["public, no-cache"] end test "Verify Cache-Control header on the API", %{conn: conn} do |