File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1225,7 +1225,7 @@ describe('mapbox plots', function() {
1225
1225
expect ( s . size ( ) ) . toBe ( 1 ) ;
1226
1226
expect ( s . text ( ) )<
9BC6
/span>. toEqual ( '© CARTO, © OpenStreetMap contributors' ) ;
1227
1227
assertLinks ( s , [
1228
- 'https://carto.com/' ,
1228
+ 'https://carto.com/about-carto/ ' ,
1229
1229
'https://www.openstreetmap.org/copyright'
1230
1230
] ) ;
1231
1231
} )
@@ -1359,7 +1359,7 @@ describe('mapbox plots', function() {
1359
1359
. then ( function ( ) {
1360
1360
var s = d3SelectAll ( '.maplibregl-ctrl-attrib' ) ;
1361
1361
expect ( s . size ( ) ) . toBe ( 1 ) ;
1362
- expect ( s . text ( ) ) . toEqual ( [ XSS + attr , '© MapLibre © OpenStreetMap Improve this map ' ] . join ( ' | ' ) ) ;
1362
+ expect ( s . text ( ) ) . toEqual ( [ XSS + attr , '© CARTO, © OpenStreetMap contributors ' ] . join ( ' | ' ) ) ;
1363
1363
expect ( s . html ( ) . indexOf ( '<img src=x onerror="alert(XSS);">' ) ) . toBe ( - 1 ) ;
1364
1364
expect ( s . html ( ) . indexOf ( '<img src=x onerror="alert(XSS);">' ) ) . not . toBe ( - 1 ) ;
1365
1365
} )
You can’t perform that action at this time.
0 commit comments