aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/index.t
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller/index.t')
-rw-r--r--t/app/controller/index.t8
1 files changed, 1 insertions, 7 deletions
diff --git a/t/app/controller/index.t b/t/app/controller/index.t
index 6b28a03d2..be4da6034 100644
--- a/t/app/controller/index.t
+++ b/t/app/controller/index.t
@@ -1,7 +1,3 @@
-use strict;
-use warnings;
-use Test::More;
-
use FixMyStreet::TestMech;
my $mech = FixMyStreet::TestMech->new;
@@ -75,7 +71,7 @@ ok $mech->get('/report/' . $edinburgh_problems[2]->id);
is $mech->res->code, 403, 'page forbidden';
is $problem_rs->count, $num+5;
-my $oxon = $mech->create_body_ok(2237, 'Oxfordshire County Council', id => 2237);
+my $oxon = $mech->create_body_ok(2237, 'Oxfordshire County Council');
subtest "prefilters /around if user has categories" => sub {
my $user = $mech->log_in_ok('test@example.com');
my $categories = [
@@ -92,7 +88,5 @@ subtest "prefilters /around if user has categories" => sub {
};
END {
- $mech->delete_problems_for_body( 2651 );
- $mech->delete_body($oxon);
done_testing();
}