aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/my.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-03-13 18:04:55 +0000
committerMatthew Somerville <matthew@mysociety.org>2015-03-13 21:54:29 +0000
commit76e533bd318cb4208faa1bf5cd0c00bde9e08e6c (patch)
tree7ada0b46c3e75b4d3977ca27960638c191354cc7 /t/app/controller/my.t
parente22563a5c8fde74a8a6f1de29948eb45487e9597 (diff)
Factor out test contact creation to function.
Diffstat (limited to 't/app/controller/my.t')
-rw-r--r--t/app/controller/my.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/app/controller/my.t b/t/app/controller/my.t
index da509e8ed..b723e537e 100644
--- a/t/app/controller/my.t
+++ b/t/app/controller/my.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
-use Test::More tests => 11;
+use Test::More;
use FixMyStreet::TestMech;
my $mech = FixMyStreet::TestMech->new;
@@ -17,3 +17,4 @@ is $mech->uri->path, '/my', "stayed on '/my/' page";
# cleanup
$mech->delete_user( $user );
+done_testing();