Skip to content

Commit 9aadcf0

Browse files
committed
replace mapbox access token with token from plotly-js-tests account
1 parent 26541c3 commit 9aadcf0

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

tasks/noci_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ test_image () {
3030
$root/../orca/bin/orca.js graph \
3131
$root/test/image/mocks/mapbox_* \
3232
--plotly $root/build/plotly.js \
33-
--mapbox-access-token "pk.eyJ1IjoiZXRwaW5hcmQiLCJhIjoiY2luMHIzdHE0MGFxNXVubTRxczZ2YmUxaCJ9.hwWZful0U2CQxit4ItNsiQ" \
33+
--mapbox-access-token "pk.eyJ1IjoicGxvdGx5LWpzLXRlc3RzIiwiYSI6ImNrNG9meTJmOTAxa3UzZm10dWdteDQ2eWMifQ.2REjOFyIrleMqwS8H8y1-A" \
3434
--output-dir $root/test/image/baselines/ \
3535
--verbose || EXIT_STATE=$?
3636
}

tasks/util/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module.exports = {
8383

8484
// this mapbox access token is 'public', no need to hide it
8585
// more info: https://www.mapbox.com/help/define-access-token/
86-
mapboxAccessToken: 'pk.eyJ1IjoiZXRwaW5hcmQiLCJhIjoiY2luMHIzdHE0MGFxNXVubTRxczZ2YmUxaCJ9.hwWZful0U2CQxit4ItNsiQ',
86+
mapboxAccessToken: 'pk.eyJ1IjoicGxvdGx5LWpzLXRlc3RzIiwiYSI6ImNrNG9meTJmOTAxa3UzZm10dWdteDQ2eWMifQ.2REjOFyIrleMqwS8H8y1-A',
8787
pathToCredentials: path.join(pathToBuild, 'credentials.json'),
8888

8989
testContainerImage: 'plotly/testbed:latest',
-23.9 KB
Loading

test/image/mocks/mapbox_custom-style.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
],
4949
"layout": {
5050
"mapbox": {
51-
"style": "mapbox://styles/etpinard/cip93fm98000sbmnuednknloo",
51+
"style": "mapbox://styles/plotly-js-tests/ck4og36lx0vnj1cpdl8y0cr8m",
5252
"center": {
5353
"lon": -73.60287319770295,
5454
"lat": 45.50110152988742

test/jasmine/tests/mapbox_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ describe('mapbox credentials', function() {
410410
}], {
411411
mapbox: {
412412
accesstoken: MAPBOX_ACCESS_TOKEN,
413-
style: 'mapbox://styles/etpinard/cip93fm98000sbmnuednknloo'
413+
style: 'mapbox://styles/plotly-js-tests/ck4og36lx0vnj1cpdl8y0cr8m'
414414
}
415415
}).catch(function() {
416416
cnt++;

0 commit comments

Comments
 (0)