Skip to content

Commit

Permalink
set max_count to required:False and insert max_count in resources.jso…
Browse files Browse the repository at this point in the history
…n for one probe for test purposes.
  • Loading branch information
Patrick Noll committed Apr 11, 2024
1 parent d06aadd commit a968b10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion GeoHealthCheck/plugins/probe/wfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class WfsGetFeatureBbox(Probe):
'type': 'string',
'description': 'Maximum amount of features to select',
'default': '5',
'required': True,
'required': False,
'range': None
},
'bbox': {
Expand Down
1 change: 1 addition & 0 deletions tests/data/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
"type_ns_prefix": "bag",
"type_ns_uri": "http://bag.geonovum.nl",
"srs": "EPSG:28992",
"max_count": "1",
"bbox": ["180635", "455870", "180961", "456050"]
}
},
Expand Down

0 comments on commit a968b10

Please sign in to comment.