diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-07-10 11:05:23 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-07-10 15:53:27 +0100 |
commit | 12d234639171b0965c2ce5cf0fea5a6af180cc9b (patch) | |
tree | 6e9b9823cbaab6ef2ac6236fed5071cec0c2add9 /t/map | |
parent | 229d072b0a4fe438c028e9526f39bee1c8db9c40 (diff) |
[UK] Make sure all asset JS in footer_extra.
This provides consistent ordering of loading, and makes it
easier to change map type and maintain assets.
Diffstat (limited to 't/map')
-rw-r--r-- | t/map/tests.t | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/t/map/tests.t b/t/map/tests.t index 7e3b6f6bd..a06759a33 100644 --- a/t/map/tests.t +++ b/t/map/tests.t @@ -2,16 +2,15 @@ use FixMyStreet::Map; use Test::More; my $requires = { - 'BathNES' => 'bathnes/assets.js', 'Bing' => 'map-bing-ol.js', - 'Bristol' => 'bristol/assets.js', - 'Bromley' => 'bromley/assets.js', + 'Bristol' => 'map-wmts-bristol.js', + 'Bromley' => 'map-fms.js', 'Buckinghamshire' => 'map-wmts-buckinghamshire.js', 'Lincolnshire' => 'lincolnshire/assets.js', 'FMS' => 'map-fms.js', 'Google' => 'map-google.js', 'GoogleOL' => 'map-google-ol.js', - 'Hounslow' => 'hounslow/assets.js', + 'Hounslow' => 'map-wmts-hounslow.js', 'OSM' => 'OpenStreetMap.js', 'CycleMap' => 'OpenStreetMap.js', 'MapQuest' => 'OpenStreetMap.js', |