diff options
author | rinpatch <rinpatch@sdf.org> | 2019-12-14 15:01:09 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-12-14 15:01:09 +0000 |
commit | ecb3386f939de3ffba16f9419994a009f2e59ded (patch) | |
tree | febe52f1b2cf59be4530ebc4f223f06e342c207c /test/plugs | |
parent | 0ba3f1ffb28792c21809fa9a30fc03a7a52d9361 (diff) | |
parent | 3b407a9a295da3f6c2fc91982088f066f2c3c711 (diff) | |
download | pleroma-1.1.7.tar.gz |
Merge branch 'release/1.1.7' into 'stable'v1.1.7
Release/1.1.7
See merge request pleroma/pleroma!2065
Diffstat (limited to 'test/plugs')
-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 45151b289..8f0af264e 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, no-cache"] + assert Conn.get_resp_header(conn, "cache-control") == ["public max-age=86400 must-revalidate"] end test "Verify Cache-Control header on the API", %{conn: conn} do |