aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/model/problem.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/model/problem.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/model/problem.t')
-rw-r--r--t/app/model/problem.t6
1 files changed, 0 insertions, 6 deletions
diff --git a/t/app/model/problem.t b/t/app/model/problem.t
index d95aec98d..142262ae9 100644
--- a/t/app/model/problem.t
+++ b/t/app/model/problem.t
@@ -875,11 +875,5 @@ subtest 'return how many days ago a problem was reported' => sub {
};
END {
- $problem->comments->delete if $problem;
- $problem->delete if $problem;
- $mech->delete_user( $user ) if $user;
-
- $mech->delete_body($_) for @bodies;
-
done_testing();
}