diff options
author | Hakim Cassimally <hakim@mysociety.org> | 2014-07-25 15:10:57 +0000 |
---|---|---|
committer | Hakim Cassimally <hakim@mysociety.org> | 2014-10-16 16:56:27 +0000 |
commit | 1708bc30af7176f95f0ec5718289d3a633daf32b (patch) | |
tree | 989803d0b6fa594ebca3a86f7d2ef1e489cfc515 /t/open311/populate-service-list.t | |
parent | 9dacce035c39b52e66b6ebed23b9c33613375ca4 (diff) |
Open311: FMS <-> Open311 Endpoint End to end tests
Uses LWP::Protocol::PSGI to avoid having to spawn external processes
in order to test these end to end.
Diffstat (limited to 't/open311/populate-service-list.t')
-rw-r--r-- | t/open311/populate-service-list.t | 4 |
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 } ); |