aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-11-27 14:04:34 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-11-29 19:05:12 +0000
commite5b543916dc1a071f792786834e8d7c52c8412ac (patch)
tree6e57d322f5b3ce0dabf502a9befc23bd385b6216 /t/app/controller/admin.t
parent5d485f64d864b236fdfaba1c3cbf452a7331b18d (diff)
Refactor stats pages to their own controller.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r--t/app/controller/admin.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t
index 3f69829f7..0be54dbc5 100644
--- a/t/app/controller/admin.t
+++ b/t/app/controller/admin.t
@@ -1746,4 +1746,10 @@ subtest "response priorities can't be viewed across councils" => sub {
};
};
+subtest "smoke view some stats pages" => sub {
+ $mech->log_in_ok( $superuser->email );
+ $mech->get_ok('/admin/stats/fix-rate');
+ $mech->get_ok('/admin/stats/questionnaire');
+};
+
done_testing();