Fix test to use new cache-control settings
authorMark Felder <feld@FreeBSD.org>
Fri, 13 Mar 2020 17:20:33 +0000 (12:20 -0500)
committerMark Felder <feld@FreeBSD.org>
Fri, 13 Mar 2020 17:20:33 +0000 (12:20 -0500)
test/reverse_proxy_test.exs

index 18d70862c1bb5452f4d8befd3c66d798a9ff3f2a..f1690ade9724ea827ecf20ffb1eba3031d29e74f 100644 (file)
@@ -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