aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand/closest.t
diff options
context:
space:
mode:
Diffstat (limited to 't/cobrand/closest.t')
-rw-r--r--t/cobrand/closest.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/cobrand/closest.t b/t/cobrand/closest.t
index 464c95e67..d06f7e9a0 100644
--- a/t/cobrand/closest.t
+++ b/t/cobrand/closest.t
@@ -5,6 +5,9 @@ use Test::More;
use mySociety::Locale;
use FixMyStreet::App;
+use FixMyStreet::TestMech;
+
+my $mech = FixMyStreet::TestMech->new;
use_ok 'FixMyStreet::Cobrand';
@@ -29,7 +32,7 @@ my $dt = DateTime->new(
my $report = FixMyStreet::App->model('DB::Problem')->find_or_create(
{
postcode => 'SW1A 1AA',
- council => '2504',
+ bodies_str => '2504',
areas => ',105255,11806,11828,2247,2504,',
category => 'Other',
title => 'Test 2',
@@ -81,4 +84,5 @@ SKIP: {
}
# all done
+$mech->delete_user( $user );
done_testing();