summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@gmail.com>2018-12-18 16:00:19 -0500
committerGitHub <noreply@github.com>2018-12-18 16:00:19 -0500
commit1c7cd243c4cf24f88f452490a0e5caac6642c450 (patch)
tree96ab88bb88399ead356c070989b07a8d9a825765 /test
parent77ce700274656522a11082d0e379d86f6d13438c (diff)
downloadqtlocation-mapboxgl-1c7cd243c4cf24f88f452490a0e5caac6642c450.tar.gz
[core,ios,macos] Updates default styles to streets v11, etc. (#13585)
Diffstat (limited to 'test')
-rw-r--r--test/util/mapbox.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util/mapbox.test.cpp b/test/util/mapbox.test.cpp
index 33bd6e72ee..20af31b822 100644
--- a/test/util/mapbox.test.cpp
+++ b/test/util/mapbox.test.cpp
@@ -92,9 +92,9 @@ TEST(Mapbox, SpriteURL) {
"https://api.mapbox.com/styles/v1/mapbox/streets-v8/draft/sprite@2x.png?access_token=key",
mbgl::util::mapbox::normalizeSpriteURL(util::API_BASE_URL, "mapbox://sprites/mapbox/streets-v8/draft@2x.png", "key"));
EXPECT_EQ(
- "https://api.mapbox.com/styles/v1/mapbox/streets-v10/sprite?access_token=key&fresh=true.png",
+ "https://api.mapbox.com/styles/v1/mapbox/streets-v11/sprite?access_token=key&fresh=true.png",
mbgl::util::mapbox::normalizeSpriteURL(util::API_BASE_URL,
- "mapbox://sprites/mapbox/streets-v10?fresh=true.png",
+ "mapbox://sprites/mapbox/streets-v11?fresh=true.png",
"key"));
EXPECT_EQ("mapbox://////", mbgl::util::mapbox::normalizeSpriteURL(util::API_BASE_URL, "mapbox://////", "key"));
}