summaryrefslogtreecommitdiff
path: root/test/plugs/cache_control_test.exs
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-03-16 14:25:55 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-03-16 14:25:55 +0300
commitf0651730bdf018b713e21ce718719c7781398362 (patch)
tree836e0fbcbb49f0ae78635a268e30013c0e94aea7 /test/plugs/cache_control_test.exs
parent98ed0d1c4bd2db354154cc4a1d1e6530eb68f499 (diff)
parentc2527b8c63a4e35b121981efe2c39cc54c77648d (diff)
downloadpleroma-f0651730bdf018b713e21ce718719c7781398362.tar.gz
pleroma-f0651730bdf018b713e21ce718719c7781398362.zip
Merge branch 'develop' into gun
Diffstat (limited to 'test/plugs/cache_control_test.exs')
-rw-r--r--test/plugs/cache_control_test.exs2
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