Fix test to use new cache-control settings

This commit is contained in:
Mark Felder 2020-03-13 12:20:33 -05:00
parent 413177c8f0
commit 470090471d

View file

@ -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