projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add AutolinkerToLinkify migration test
[akkoma]
/
test
/
plugs
/
cache_control_test.exs
diff --git
a/test/plugs/cache_control_test.exs
b/test/plugs/cache_control_test.exs
index 005912ffbfa9e7d2ca88c31e1360ff3ef45c8ac0..6b567e81d70319a1e7e62d01ba20c2649508c18a 100644
(file)
--- 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")
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-revalidat
e"]
+ assert Conn.get_resp_header(conn, "cache-control") == ["public
, no-cach
e"]
end
test "Verify Cache-Control header on the API", %{conn: conn} do
end
test "Verify Cache-Control header on the API", %{conn: conn} do