diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-06 12:26:26 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-06 12:26:26 +0000 |
commit | 53e22391a3975b2c2a9ebca8b75fab6127c767b7 (patch) | |
tree | 8c667b07a9c07dbc0c11e2d3bb003b6da9dc6db2 /t/map/tilma | |
parent | 91bec61612a5ad0c4ee87942dae0611a9a211243 (diff) | |
parent | 27f6a53b0be0e36ffccbabd45592ee6fddf0092a (diff) |
Merge branch 'around-and-about-pagination'
Diffstat (limited to 't/map/tilma')
-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'; }; } |