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.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/open311/populate-service-list.t b/t/open311/populate-service-list.t
index ae5879896..f33fc97b4 100644
--- a/t/open311/populate-service-list.t
+++ b/t/open311/populate-service-list.t
@@ -20,11 +20,16 @@ ok $processor, 'created object';
my $body = FixMyStreet::App->model('DB::Body')->find_or_create( {
id => 1,
name => 'Body Numero Uno',
+} );
+$body->body_areas->find_or_create({
area_id => 1
} );
+
my $bromley = FixMyStreet::App->model('DB::Body')->find_or_create( {
id => 2482,
name => 'Bromley Council',
+} );
+$bromley->body_areas->find_or_create({
area_id => 2482
} );