projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
413177c
)
Fix test to use new cache-control settings
author
Mark Felder
<feld@FreeBSD.org>
Fri, 13 Mar 2020 17:20:33 +0000
(12:20 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Fri, 13 Mar 2020 17:20:33 +0000
(12:20 -0500)
test/reverse_proxy_test.exs
patch
|
blob
|
history
diff --git
a/test/reverse_proxy_test.exs
b/test/reverse_proxy_test.exs
index 18d70862c1bb5452f4d8befd3c66d798a9ff3f2a..f1690ade9724ea827ecf20ffb1eba3031d29e74f 100644
(file)
--- a/
test/reverse_proxy_test.exs
+++ b/
test/reverse_proxy_test.exs
@@
-294,7
+294,7
@@
defmodule Pleroma.ReverseProxyTest do
|> expect(:stream_body, fn _ -> :done end)
conn = ReverseProxy.call(conn, "/cache")
- assert {"cache-control", "public"} in conn.resp_headers
+ assert {"cache-control", "public
, max-age=1209600
"} in conn.resp_headers
end
end