From 76e533bd318cb4208faa1bf5cd0c00bde9e08e6c Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 13 Mar 2015 18:04:55 +0000 Subject: Factor out test contact creation to function. --- t/app/controller/my.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 't/app/controller/my.t') 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(); -- cgit v1.2.3