Commit da91255c authored by Jérome Perrin's avatar Jérome Perrin

web: update testERP5Web now that one-day-max policy is fixed

ref: 906761ed (erp5_web: change one-day-max policy max-age to 14400s, 2021-09-01)
parent 4c277484
Pipeline #38012 failed with stage
in 0 seconds
......@@ -1883,7 +1883,7 @@ Hé Hé Hé!""", page.asText().strip())
# Check cache control
cache_control_header = response.getHeader('Cache-Control')
self.assertEqual(cache_control_header,
'max-age=600, stale-while-revalidate=360000, stale-if-error=31536000, public')
'max-age=14400, stale-while-revalidate=360000, stale-if-error=31536000, public')
# Check Vary
cache_control_header = response.getHeader('Vary')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment