projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'issue/sign-authority' into 'develop'
[akkoma]
/
test
/
plugs
/
cache_control_test.exs
diff --git
a/test/plugs/cache_control_test.exs
b/test/plugs/cache_control_test.exs
index 8f0af264ef7bcbe4212858d84db34573f77a086e..6b567e81d70319a1e7e62d01ba20c2649508c18a 100644
(file)
--- a/
test/plugs/cache_control_test.exs
+++ b/
test/plugs/cache_control_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
18
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.CacheControlTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.CacheControlTest do
@@
-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