diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-05-31 12:48:17 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-05-31 16:53:07 +0100 |
commit | 1bb94cd0bf0821927b3f449d832a9982b0397fa9 (patch) | |
tree | 2b8be8ab1202b7299a2877c6ea2732a9e6fe611e /t/app/controller/about.t | |
parent | 03d2376e59e69b2e18cbd8cf98f7956393a4fd5b (diff) |
Auto-add strict/warnings/Test::More with TestMech.
Diffstat (limited to 't/app/controller/about.t')
-rw-r--r-- | t/app/controller/about.t | 9 |
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'); |