Skip to content

Commit

Permalink
correct url in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd committed May 12, 2017
1 parent d18d408 commit ef0eb1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/ui/control/attribution.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ test('AttributionControl has the correct edit map link', (t) => {
map.addControl(attribution);

map.on('load', () => {
map.addSource('1', {type: 'vector', attribution: '<a class="mapbox-improve-map" href="https://www.mapbox.com/map-feedback/" target="_blank">Improve this map</a>'});
map.addSource('1', {type: 'vector', attribution: '<a class="mapbox-improve-map" href="https://www.mapbox.com/feedback/" target="_blank">Improve this map</a>'});
map.on('data', (e) => {
if (e.dataType === 'source' && e.sourceDataType === 'metadata') {
t.equal(attribution._editLink.href, 'https://www.mapbox.com/feedback/?owner=mapbox&id=streets-v10#/0/0/0', 'edit link contains map location data');
Expand Down

0 comments on commit ef0eb1f

Please sign in to comment.