diff --git a/GeoHealthCheck/plugins/probe/wfs.py b/GeoHealthCheck/plugins/probe/wfs.py index 54eff3e..956de47 100644 --- a/GeoHealthCheck/plugins/probe/wfs.py +++ b/GeoHealthCheck/plugins/probe/wfs.py @@ -27,7 +27,7 @@ class WfsGetFeatureBbox(Probe): xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - @@ -81,7 +81,7 @@ class WfsGetFeatureBbox(Probe): 'type': 'string', 'description': 'Maximum amount of features to select', 'default': '5', - 'required': False, + 'required': True, 'range': None }, 'bbox': { diff --git a/tests/data/fixtures.json b/tests/data/fixtures.json index 299af40..382b34a 100644 --- a/tests/data/fixtures.json +++ b/tests/data/fixtures.json @@ -178,6 +178,7 @@ "type_ns_prefix": "bag", "type_ns_uri": "http://bag.geonovum.nl", "srs": "EPSG:28992", + "max_count": "1", "bbox": ["180635", "455870", "180961", "456050"] } }, @@ -189,6 +190,7 @@ "type_ns_prefix": "bag", "type_ns_uri": "http://bag.geonovum.nl", "srs": "EPSG:28992", + "max_count": "1", "bbox": ["180635", "455870", "180961", "456050"] } }, diff --git a/tests/data/resources.json b/tests/data/resources.json index 9de6c99..30f5163 100644 --- a/tests/data/resources.json +++ b/tests/data/resources.json @@ -187,6 +187,7 @@ "type_ns_prefix": "bag", "type_ns_uri": "http://bag.geonovum.nl", "srs": "EPSG:28992", + "max_count": "1", "bbox": ["180635", "455870", "180961", "456050"] } },