@@ -54,9 +54,9 @@ describe('wfs', () => {
5454 // THEN
5555 const params = validateUrlAndGetParams ( format , urlString ) ;
5656 expect ( params . get ( 'cql_filter' ) ) . to . equal ( 'family_id = 1 ' +
57- 'AND institutioncode_id = 2 AND basisofrecord_id = 3 AND genus IN (1,3) ' +
57+ 'AND institution_id = 2 AND basis_of_record_id = 3 AND genus IN (1,3) ' +
5858 'AND year >= 1920 AND year <= 2010 ' +
59- 'AND BBOX(geom ,0.5,42.7,0.6,42.8)' ) ;
59+ 'AND BBOX(geometry ,0.5,42.7,0.6,42.8)' ) ;
6060 } ) ;
6161
6262 it ( 'getWfsDownloadUrl returns URL with all subtaxa visible"' , async ( ) => {
@@ -174,8 +174,8 @@ describe('wfs', () => {
174174 year : 2023 ,
175175 month : 11 ,
176176 county : 'Burjassot' ,
177- stateprovince : 'Valencia' ,
178- scientificname : 'Ornithorhynchus anatinus'
177+ state_province : 'Valencia' ,
178+ scientific_name : 'Ornithorhynchus anatinus'
179179 }
180180 } ]
181181 } ;
@@ -190,8 +190,8 @@ describe('wfs', () => {
190190 expect ( properties ?. day ) . to . equal ( undefined ) ;
191191 expect ( properties ?. municipality ) . to . equal ( undefined ) ;
192192 expect ( properties ?. county ) . to . equal ( response . features [ 0 ] . properties . county ) ;
193- expect ( properties ?. stateProvince ) . to . equal ( response . features [ 0 ] . properties . stateprovince ) ;
194- expect ( properties ?. scientificName ) . to . equal ( response . features [ 0 ] . properties . scientificname ) ;
193+ expect ( properties ?. stateProvince ) . to . equal ( response . features [ 0 ] . properties . state_province ) ;
194+ expect ( properties ?. scientificName ) . to . equal ( response . features [ 0 ] . properties . scientific_name ) ;
195195 } ) ;
196196
197197 const validateUrlAndGetParams = ( expectedFormat : string , urlString : string ) : URLSearchParams => {
0 commit comments