From 43c98742ee85c73c4783451ceeea28108bb793c6 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 11 Dec 2014 16:42:53 +0000 Subject: By default, use area-based alerts. The body-based alert only works if the body ID matches the MapIt ID. This fixes #959. Further work needs to be done to enable proper body-based alerts that work properly in all circumstances. Consequently, factor out fixed body IDs from many tests. Also fix a couple of tests not overriding geocoder correctly. --- t/app/controller/json.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/app/controller/json.t') diff --git a/t/app/controller/json.t b/t/app/controller/json.t index 405a84821..b2cea674f 100644 --- a/t/app/controller/json.t +++ b/t/app/controller/json.t @@ -49,7 +49,7 @@ my $body = $mech->create_body_ok(2501, 'Wandsworth Borough Council'); my $problem_args = { postcode => 'sw1a 1aa', - bodies_str => '2501', + bodies_str => $body->id, areas => ',105164,11806,11827,2247,2501,34817,42011,66045,70786,8519,', category => 'test category', title => 'Test title', -- cgit v1.2.3