aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/about.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-05-31 12:48:17 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-05-31 16:53:07 +0100
commit1bb94cd0bf0821927b3f449d832a9982b0397fa9 (patch)
tree2b8be8ab1202b7299a2877c6ea2732a9e6fe611e /t/app/controller/about.t
parent03d2376e59e69b2e18cbd8cf98f7956393a4fd5b (diff)
Auto-add strict/warnings/Test::More with TestMech.
Diffstat (limited to 't/app/controller/about.t')
-rw-r--r--t/app/controller/about.t9
1 files changed, 2 insertions, 7 deletions
diff --git a/t/app/controller/about.t b/t/app/controller/about.t
index cec50abfa..8f3f25e27 100644
--- a/t/app/controller/about.t
+++ b/t/app/controller/about.t
@@ -1,11 +1,6 @@
-use utf8;
-use strict;
-use warnings;
+use FixMyStreet::TestMech;
-use Test::More;
-use Test::WWW::Mechanize::Catalyst 'FixMyStreet::App';
-
-ok( my $mech = Test::WWW::Mechanize::Catalyst->new, 'Created mech object' );
+ok( my $mech = FixMyStreet::TestMech->new, 'Created mech object' );
# check that we can get the page
$mech->get_ok('/faq');