aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/auth.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-06-14 13:59:43 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-06-20 15:02:12 +0100
commit3b72526db1cdb4695f61a188261351ddd2aea395 (patch)
tree6817af03285d6695e11e59dd90cad5dfeb39a599 /t/app/controller/auth.t
parente57cbf483790bedfef6496be3c7ffa42882c3ffc (diff)
Run each test file in a transaction.
This means that the tests can be run in parallel.
Diffstat (limited to 't/app/controller/auth.t')
-rw-r--r--t/app/controller/auth.t3
1 files changed, 0 insertions, 3 deletions
diff --git a/t/app/controller/auth.t b/t/app/controller/auth.t
index d1e313df2..388216a1f 100644
--- a/t/app/controller/auth.t
+++ b/t/app/controller/auth.t
@@ -6,11 +6,8 @@ my $mech = FixMyStreet::TestMech->new;
my $test_email = 'test@example.com';
my $test_email2 = 'test@example.net';
my $test_password = 'foobar';
-$mech->delete_user($test_email);
END {
- $mech->delete_user($test_email);
- $mech->delete_user($test_email2);
done_testing();
}