diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-01-31 12:15:16 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-01-31 12:15:16 +0000 |
commit | 35445b8cc7ae02acdfbfc3e2e9da15b022736906 (patch) | |
tree | 4a77d625c14688ff89e9fc0ece499a99b4062879 /t/app/controller/admin/stats.t | |
parent | df6212087ec4ba0fe5ea8b9cde1492cf69b84446 (diff) | |
parent | 2f8e3f7b86650d2b05b346615ac9f5fb7e8dcdb5 (diff) |
Merge branch '1942-admin-anonymize'
Diffstat (limited to 't/app/controller/admin/stats.t')
-rw-r--r-- | t/app/controller/admin/stats.t | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/t/app/controller/admin/stats.t b/t/app/controller/admin/stats.t new file mode 100644 index 000000000..dae51d31f --- /dev/null +++ b/t/app/controller/admin/stats.t @@ -0,0 +1,12 @@ +use FixMyStreet::TestMech; + +my $mech = FixMyStreet::TestMech->new; +my $superuser = $mech->create_user_ok('superuser@example.com', name => 'Super User', is_superuser => 1); + +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(); |