diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-15 18:03:10 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-06 12:25:34 +0000 |
commit | 917be7924e23fd4e0168927f16fa5d6e64ca4508 (patch) | |
tree | 3cdf0924c629df0dab3f6aa592ad556f7999ec4a /t/map | |
parent | 660631a3ff063e6378c9838f40c1d9bfa8dcfd43 (diff) |
Remove Show all pins link and on_map_list_limit.
/around will now show all reports all the time, but we are about to
introduce pagination to stop that.
Diffstat (limited to 't/map')
-rw-r--r-- | t/map/tilma/original.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/map/tilma/original.t b/t/map/tilma/original.t index b29155bee..e89251285 100644 --- a/t/map/tilma/original.t +++ b/t/map/tilma/original.t @@ -92,17 +92,17 @@ for my $test ( $report->state($test->{state}); $report->update; - my ( $on_map_all, $on_map_list, $nearby, $dist ) = + my ( $on_map, $nearby, $dist ) = FixMyStreet::Map::map_features($c, bbox => "0,0,0,0"); - ok $on_map_list; + ok $on_map; ok $nearby; ok $dist; my $id = $report->id; my $colour = $test->{colour}; - my $pin_colour = $c->cobrand->pin_colour($on_map_all->[0], 'around'); + my $pin_colour = $c->cobrand->pin_colour($on_map->[0], 'around'); is $pin_colour, $colour, 'pin colour'; }; } |