From 1bb94cd0bf0821927b3f449d832a9982b0397fa9 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 31 May 2017 12:48:17 +0100 Subject: Auto-add strict/warnings/Test::More with TestMech. --- t/app/controller/json.t | 5 ----- 1 file changed, 5 deletions(-) (limited to 't/app/controller/json.t') diff --git a/t/app/controller/json.t b/t/app/controller/json.t index b2cea674f..f7410dbd0 100644 --- a/t/app/controller/json.t +++ b/t/app/controller/json.t @@ -1,8 +1,3 @@ -use strict; -use warnings; - -use Test::More; - use FixMyStreet::TestMech; my $mech = FixMyStreet::TestMech->new; -- cgit v1.2.3 From 3b72526db1cdb4695f61a188261351ddd2aea395 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 14 Jun 2017 13:59:43 +0100 Subject: Run each test file in a transaction. This means that the tests can be run in parallel. --- t/app/controller/json.t | 2 -- 1 file changed, 2 deletions(-) (limited to 't/app/controller/json.t') diff --git a/t/app/controller/json.t b/t/app/controller/json.t index f7410dbd0..8ee472f5d 100644 --- a/t/app/controller/json.t +++ b/t/app/controller/json.t @@ -111,6 +111,4 @@ is_deeply # ], "correct response"; -$mech->delete_user($user); - done_testing(); -- cgit v1.2.3