From 07f109db3dae362aacaa54d3d1262f047be4f953 Mon Sep 17 00:00:00 2001 From: rmartin Date: Thu, 23 Nov 2023 12:58:16 +0100 Subject: [PATCH] update js-unit --- tests/js-units/node/config/baselayer.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/js-units/node/config/baselayer.test.js b/tests/js-units/node/config/baselayer.test.js index 6fbfc86cbc..d8f29ecfb8 100644 --- a/tests/js-units/node/config/baselayer.test.js +++ b/tests/js-units/node/config/baselayer.test.js @@ -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", @@ -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') @@ -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') @@ -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')