diff --git a/test/search_api/test_search_api_query_filter_factory.py b/test/search_api/test_search_api_query_filter_factory.py index 683c6a44..742d5d52 100644 --- a/test/search_api/test_search_api_query_filter_factory.py +++ b/test/search_api/test_search_api_query_filter_factory.py @@ -1981,6 +1981,24 @@ def test_valid_filter_input_with_all_filters( }, id="Invalid scope syntax on include filter", ), + pytest.param( + { + "filter": { + "include": [ + {"relation": "parameters", "scope": {"limit": 50}}, + ], + }, + }, + id="Unsupported limit filter in scope of include filter", + ), + pytest.param( + { + "filter": { + "include": [{"relation": "parameters", "scope": {"skip": 20}}], + }, + }, + id="Unsupported skip filter in scope of include filter", + ), ], ) def test_invalid_filter_input(self, test_request_filter):