aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311/populate-service-list.t
diff options
context:
space:
mode:
Diffstat (limited to 't/open311/populate-service-list.t')
-rw-r--r--t/open311/populate-service-list.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/open311/populate-service-list.t b/t/open311/populate-service-list.t
index 9fd18b607..d9d65945b 100644
--- a/t/open311/populate-service-list.t
+++ b/t/open311/populate-service-list.t
@@ -25,10 +25,12 @@ $body->body_areas->find_or_create({
area_id => 1
} );
+my $BROMLEY = 'Bromley Council';
my $bromley = FixMyStreet::App->model('DB::Body')->find_or_create( {
id => 2482,
- name => 'Bromley Council',
+ name => $BROMLEY,
} );
+$bromley->update({ name => $BROMLEY });
$bromley->body_areas->find_or_create({
area_id => 2482
} );