Skip to content

Commit

Permalink
update js-unit
Browse files Browse the repository at this point in the history
  • Loading branch information
nworr committed Nov 23, 2023
1 parent 61c4071 commit 07f109d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/js-units/node/config/baselayer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('WmtsBaseLayerConfig', function () {
const ignPhotoBl = new WmtsBaseLayerConfig("ign-photo", {
"type": "wmts",
"title": "IGN Orthophoto",
"url": "https://wxs.ign.fr/ortho/geoportail/wmts",
"url": "https://data.geopf.fr/wmts?",
"layers": "ORTHOIMAGERY.ORTHOPHOTOS",
"format": "image/jpeg",
"styles": "normal",
Expand All @@ -112,7 +112,7 @@ describe('WmtsBaseLayerConfig', function () {
expect(ignPhotoBl.name).to.be.eq('ign-photo')
expect(ignPhotoBl.title).to.be.eq('IGN Orthophoto')
expect(ignPhotoBl.layerConfig).to.be.null
expect(ignPhotoBl.url).to.be.eq('https://wxs.ign.fr/ortho/geoportail/wmts')
expect(ignPhotoBl.url).to.be.eq('https://data.geopf.fr/wmts?')
expect(ignPhotoBl.hasKey).to.be.false
expect(ignPhotoBl.key).to.be.null
expect(ignPhotoBl.layer).to.be.eq('ORTHOIMAGERY.ORTHOPHOTOS')
Expand Down Expand Up @@ -292,7 +292,7 @@ describe('BaseLayersConfig', function () {
expect(ignPhotoBl.name).to.be.eq('ign-photo')
expect(ignPhotoBl.title).to.be.eq('IGN Orthophoto')
expect(ignPhotoBl.layerConfig).to.be.null
expect(ignPhotoBl.url).to.be.eq('https://wxs.ign.fr/ortho/geoportail/wmts')
expect(ignPhotoBl.url).to.be.eq('https://data.geopf.fr/wmts?')
expect(ignPhotoBl.hasKey).to.be.false
expect(ignPhotoBl.key).to.be.null
expect(ignPhotoBl.layer).to.be.eq('ORTHOIMAGERY.ORTHOPHOTOS')
Expand All @@ -313,7 +313,7 @@ describe('BaseLayersConfig', function () {
expect(ignScanBl.name).to.be.eq('ign-scan')
expect(ignScanBl.title).to.be.eq('IGN Scans')
expect(ignScanBl.layerConfig).to.be.null
expect(ignScanBl.url).to.be.eq('https://wxs.ign.fr/{key}/geoportail/wmts')
expect(ignScanBl.url).to.be.eq('https://data.geopf.fr/private/wmts/?apikey={key}&')
expect(ignScanBl.hasKey).to.be.true
expect(ignScanBl.key).to.be.eq('ign-key')
expect(ignScanBl.layer).to.be.eq('GEOGRAPHICALGRIDSYSTEMS.MAPS')
Expand Down

0 comments on commit 07f109d

Please sign in to comment.