forked from AkkomaGang/akkoma
Fix test to use new cache-control settings
This commit is contained in:
parent
413177c8f0
commit
470090471d
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ test "add cache-control", %{conn: conn} do
|
||||||
|> expect(:stream_body, fn _ -> :done end)
|
|> expect(:stream_body, fn _ -> :done end)
|
||||||
|
|
||||||
conn = ReverseProxy.call(conn, "/cache")
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue