ignore API parameters in array notation

PHP automatically parses parameters in an array notation(foo[]) into
array types. Ignore these parameters as 'unknown'.

Fixes #2763.
This commit is contained in:
Sarah Hoffmann
2022-07-23 10:51:44 +02:00
parent 1bee151fe3
commit cd4bcea894
3 changed files with 22 additions and 9 deletions

View File

@@ -368,3 +368,10 @@ Feature: Search queries
| Triesenberg |
Scenario: Array parameters are ignored
When sending json search query "Vaduz" with address
| countrycodes[] | polygon_svg[] | limit[] | polygon_threshold[] |
| IT | 1 | 3 | 3.4 |
Then result addresses contain
| ID | country_code |
| 0 | li |