StreetCode
StreetCode copied to clipboard
[API][Admin/Streetcode] The field "dateString" accepts invalid data
trafficstars
Environment: all Reproducible: always Build found: a7d807f
Preconditions
- Open Postman.
Steps to reproduce
- Choose the POST/PUT method.
- Enter valid endpoints.
- Check in all mandatory keys for creating/updating Streetcode.
- Enter the date in the field "dateString":
-
[x] Special characters "!№;%:?*+,~@#$&"
-
[x] Letters from the Latin alphabet
-
[x] Amount of characters more than limits 100<
-
[x] Empry field
Actual result The Streetcode is published and the field "dateString" is filled.
Expected result The response returns a status of "400 Bad Request" with the message "The field "dateString" can only contain Cyrillic letters, numbers, dashes (–) and parentheses".
User story: #115