diff --git a/test/common/iServer/GetFeaturesByBoundsServiceSpec.js b/test/common/iServer/GetFeaturesByBoundsServiceSpec.js index c37d953be..c7edd408e 100644 --- a/test/common/iServer/GetFeaturesByBoundsServiceSpec.js +++ b/test/common/iServer/GetFeaturesByBoundsServiceSpec.js @@ -212,7 +212,7 @@ describe('GetFeaturesByBoundsService', () => { try { getFeaturesByBoundsService.destroy(); boundsParams.destroy(); - expect(serviceSucceedEventArgsSystem.result.type).toBe('FeatureCollection'); + expect(serviceSucceedEventArgsSystem.result.features.type).toBe('FeatureCollection'); expect(serviceSucceedEventArgsSystem.result.features.features.length).toBe(4); done(); } catch (exception) { diff --git a/test/common/iServer/GetFeaturesByBufferServiceSpec.js b/test/common/iServer/GetFeaturesByBufferServiceSpec.js index d942abcd2..14ff437c2 100644 --- a/test/common/iServer/GetFeaturesByBufferServiceSpec.js +++ b/test/common/iServer/GetFeaturesByBufferServiceSpec.js @@ -357,7 +357,7 @@ describe('GetFeaturesByBufferService', () => { try { getFeaturesByBufferService.destroy(); getFeaturesByBufferParameters.destroy(); - expect(serviceSucceedEventArgsSystem.result.type).toBe('FeatureCollection'); + expect(serviceSucceedEventArgsSystem.result.features.type).toBe('FeatureCollection'); expect(serviceSucceedEventArgsSystem.result.features.features.length).toBe(4); done(); } catch (exception) { diff --git a/test/common/iServer/GetFeaturesByGeometryServiceSpec.js b/test/common/iServer/GetFeaturesByGeometryServiceSpec.js index d990ea6f1..011a9f4c3 100644 --- a/test/common/iServer/GetFeaturesByGeometryServiceSpec.js +++ b/test/common/iServer/GetFeaturesByGeometryServiceSpec.js @@ -354,7 +354,7 @@ describe('GetFeaturesByGeometryService', () => { try { getFeaturesByGeometryService.destroy(); getFeaturesByGeometryParameters.destroy(); - expect(serviceSucceedEventArgsSystem.result.type).toBe('FeatureCollection'); + expect(serviceSucceedEventArgsSystem.result.features.type).toBe('FeatureCollection'); expect(serviceSucceedEventArgsSystem.result.features.features.length).toBe(4); done(); } catch (exception) { diff --git a/test/common/iServer/GetFeaturesByIDsServiceSpec.js b/test/common/iServer/GetFeaturesByIDsServiceSpec.js index 0ea63e066..3c7e66928 100644 --- a/test/common/iServer/GetFeaturesByIDsServiceSpec.js +++ b/test/common/iServer/GetFeaturesByIDsServiceSpec.js @@ -311,7 +311,7 @@ describe('GetFeaturesByIDsService', () => { try { getFeaturesByIDsService.destroy(); idParams.destroy(); - expect(serviceSucceedEventArgsSystem.result.type).toBe('FeatureCollection'); + expect(serviceSucceedEventArgsSystem.result.features.type).toBe('FeatureCollection'); expect(serviceSucceedEventArgsSystem.result.features.features.length).toBe(4); done(); } catch (exception) { diff --git a/test/common/iServer/GetFeaturesBySQLServiceSpec.js b/test/common/iServer/GetFeaturesBySQLServiceSpec.js index d665322d0..070e5dc57 100644 --- a/test/common/iServer/GetFeaturesBySQLServiceSpec.js +++ b/test/common/iServer/GetFeaturesBySQLServiceSpec.js @@ -286,7 +286,7 @@ describe('GetFeaturesBySQLService', () => { try { getFeaturesBySQLService.destroy(); sqlParams.destroy(); - expect(serviceSucceedEventArgsSystem.result.type).toBe('FeatureCollection'); + expect(serviceSucceedEventArgsSystem.result.features.type).toBe('FeatureCollection'); expect(serviceSucceedEventArgsSystem.result.features.features.length).toBe(4); done(); } catch (exception) {