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/cobrand/zurich.t | |
parent | 03d2376e59e69b2e18cbd8cf98f7956393a4fd5b (diff) |
Auto-add strict/warnings/Test::More with TestMech.
Diffstat (limited to 't/cobrand/zurich.t')
-rw-r--r-- | t/cobrand/zurich.t | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t index 0a84d2d03..947baaec8 100644 --- a/t/cobrand/zurich.t +++ b/t/cobrand/zurich.t @@ -1,15 +1,14 @@ # TODO # Overdue alerts -use strict; -use warnings; use DateTime; use Email::MIME; use LWP::Protocol::PSGI; -use Test::More; use Test::LongString; use Path::Tiny; use t::Mock::MapItZurich; +use FixMyStreet::TestMech; +my $mech = FixMyStreet::TestMech->new; # Check that you have the required locale installed - the following # should return a line with de_CH.utf8 in. If not install that locale. @@ -53,9 +52,6 @@ sub reset_report_state { $report->update; } -use FixMyStreet::TestMech; -my $mech = FixMyStreet::TestMech->new; - # Front page test ok $mech->host("zurich.example.com"), "change host to Zurich"; FixMyStreet::override_config { |