From 110e42bb29da7b7ab8315bc4357c584325c4f618 Mon Sep 17 00:00:00 2001 From: stefano bovio Date: Thu, 14 Oct 2021 16:17:15 +0200 Subject: [PATCH] #519: MapStore must not rely on the workspace prefix inside the style names returned by GetCapabilities (#533) --- geonode_mapstore_client/client/MapStore2 | 2 +- .../client/js/reducers/__tests__/gnsave-test.js | 8 ++++++-- geonode_mapstore_client/client/package.json | 3 ++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/geonode_mapstore_client/client/MapStore2 b/geonode_mapstore_client/client/MapStore2 index 2d4e919e21..2768e5bb14 160000 --- a/geonode_mapstore_client/client/MapStore2 +++ b/geonode_mapstore_client/client/MapStore2 @@ -1 +1 @@ -Subproject commit 2d4e919e21eff180839ed66ef6204224e8732619 +Subproject commit 2768e5bb14d13b96fb92118744acb8ed0b8c5010 diff --git a/geonode_mapstore_client/client/js/reducers/__tests__/gnsave-test.js b/geonode_mapstore_client/client/js/reducers/__tests__/gnsave-test.js index d4882428fa..16a959e3f1 100644 --- a/geonode_mapstore_client/client/js/reducers/__tests__/gnsave-test.js +++ b/geonode_mapstore_client/client/js/reducers/__tests__/gnsave-test.js @@ -20,13 +20,17 @@ describe('gnsave reducer', () => { it('should test savingResource', () => { const state = gnsave({}, savingResource()); expect(state).toEqual({ - saving: true + saving: true, + error: undefined, + success: undefined }); }); it('should test savingResource', () => { const state = gnsave({}, saveDirectContent()); expect(state).toEqual({ - saving: true + saving: true, + error: undefined, + success: undefined }); }); it('should test saveSuccess', () => { diff --git a/geonode_mapstore_client/client/package.json b/geonode_mapstore_client/client/package.json index c09e1da400..4b3f065354 100644 --- a/geonode_mapstore_client/client/package.json +++ b/geonode_mapstore_client/client/package.json @@ -27,7 +27,8 @@ "author": "GeoSolutions", "license": "BSD-2-Clause", "devDependencies": { - "@mapstore/project": "1.0.7" + "@mapstore/project": "1.0.7", + "webpack-cli": "4.9.0" }, "dependencies": { "@fortawesome/fontawesome-free": "5.15.1",