Apply suggestion to test/web/admin_api/admin_api_controller_test.exs
[akkoma] / test / plugs / cache_control_test.exs
index 005912ffbfa9e7d2ca88c31e1360ff3ef45c8ac0..6b567e81d70319a1e7e62d01ba20c2649508c18a 100644 (file)
@@ -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")
 
-    assert Conn.get_resp_header(conn, "cache-control") == ["public max-age=86400 must-revalidate"]
+    assert Conn.get_resp_header(conn, "cache-control") == ["public, no-cache"]
   end
 
   test "Verify Cache-Control header on the API", %{conn: conn} do