aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/offline.t
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller/offline.t')
-rw-r--r--t/app/controller/offline.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/app/controller/offline.t b/t/app/controller/offline.t
index 876475264..d48af676f 100644
--- a/t/app/controller/offline.t
+++ b/t/app/controller/offline.t
@@ -54,6 +54,7 @@ FixMyStreet::override_config {
subtest 'service worker' => sub {
$mech->get_ok('/service-worker.js');
+ is $mech->res->header('Cache-Control'), 'max-age=0', 'service worker is not cached';
$mech->content_contains('translation_strings');
$mech->content_contains('offline/fallback');
};