summaryrefslogtreecommitdiff
path: root/platform/darwin
diff options
context:
space:
mode:
authorAntonio Zugaldia <antonio@mapbox.com>2019-01-10 10:04:58 -0500
committertobrun <tobrun.van.nuland@gmail.com>2019-01-17 19:28:19 +0100
commit8ef6a25589da7de75baeb81fa21736b09c967ce4 (patch)
tree6fa0a69da3d5a559830d3256776b6f5a1c31d71f /platform/darwin
parente0fc92ea0ba55d1740db5f7985efc665d73129a5 (diff)
downloadqtlocation-mapboxgl-8ef6a25589da7de75baeb81fa21736b09c967ce4.tar.gz
[core,ios] rename all occurrence of www.mapbox.com/map-feedback to apps.mapbox.com/feedback
Diffstat (limited to 'platform/darwin')
-rw-r--r--platform/darwin/test/MGLAttributionInfoTests.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/test/MGLAttributionInfoTests.m b/platform/darwin/test/MGLAttributionInfoTests.m
index 415b040516..b8fddd72ed 100644
--- a/platform/darwin/test/MGLAttributionInfoTests.m
+++ b/platform/darwin/test/MGLAttributionInfoTests.m
@@ -14,7 +14,7 @@
@"<a href=\"https://www.mapbox.com/about/maps/\" target=\"_blank\">&copy; Mapbox</a> "
@"<a href=\"http://www.openstreetmap.org/about/\" target=\"_blank\">©️ OpenStreetMap</a> "
@"CC&nbsp;BY-SA "
- @"<a class=\"mapbox-improve-map\" href=\"https://www.mapbox.com/map-feedback/\" target=\"_blank\">Improve this map</a>",
+ @"<a class=\"mapbox-improve-map\" href=\"https://apps.mapbox.com/feedback/\" target=\"_blank\">Improve this map</a>",
};
NSMutableArray<MGLAttributionInfo *> *infos = [NSMutableArray array];
@@ -44,7 +44,7 @@
XCTAssertNil([infos[2] feedbackURLAtCenterCoordinate:mapbox zoomLevel:14]);
XCTAssertEqualObjects(infos[3].title.string, @"Improve this map");
- XCTAssertEqualObjects(infos[3].URL, [NSURL URLWithString:@"https://www.mapbox.com/map-feedback/"]);
+ XCTAssertEqualObjects(infos[3].URL, [NSURL URLWithString:@"https://apps.mapbox.com/feedback/"]);
XCTAssertTrue(infos[3].feedbackLink);
NSURL *styleURL = [MGLStyle satelliteStreetsStyleURLWithVersion:99];
XCTAssertEqualObjects([infos[3] feedbackURLAtCenterCoordinate:mapbox zoomLevel:14],